EOTasks

core

AddFeatureTask

Adds a feature to the given EOPatch.

CopyTask

Makes a shallow copy of the given EOPatch.

CreateEOPatchTask

Creates an EOPatch.

DeepCopyTask

Makes a deep copy of the given EOPatch.

DuplicateFeatureTask

Duplicates one or multiple features in an EOPatch.

ExplodeBandsTask

Explode a subset of bands from one feature to multiple new features.

ExtractBandsTask

Moves a subset of bands from one feature to a new one.

IOTask

An abstract Input/Output task that can handle a path and a filesystem object.

InitializeFeatureTask

Initializes the values of a feature.

LoadTask

Loads an EOPatch from a filesystem.

MapFeatureTask

Applies a function to each feature in input_features of a patch and stores the results in a set of output_features.

MergeEOPatchesTask

Merge content from multiple EOPatches into a single EOPatch.

MergeFeatureTask

Merges multiple features together by concatenating their data along the specified axis.

MoveFeatureTask

Task to copy/deepcopy fields from one EOPatch to another.

RemoveFeatureTask

Removes one or multiple features from the given EOPatch.

RenameFeatureTask

Renames one or multiple features from the given EOPatch.

SaveTask

Saves the given EOPatch to a filesystem.

ZipFeatureTask

Passes a set of input_features to a function, which returns a single features as a result and stores it in the given EOPatch.

InputTask

Introduces data into an EOWorkflow, where the data can be specified at initialization or at execution.

OutputTask

Stores data as an output of EOWorkflow results.

coregistration

ECCRegistrationTask

Multi-temporal image co-registration using OpenCV Enhanced Cross-Correlation method

features

EuclideanNormTask

The task calculates the Euclidean Norm:

NormalizedDifferenceIndexTask

The task calculates a Normalized Difference Index (NDI) between two bands A and B as:

BlobTask

Task to compute blobs

DoGBlobTask

Task to compute blobs with Difference of Gaussian (DoG) method

DoHBlobTask

Task to compute blobs with Determinant of the Hessian (DoH) method

LoGBlobTask

Task to compute blobs with Laplacian of Gaussian (LoG) method

ClusteringTask

Tasks computes clusters on selected features using sklearn.cluster.AgglomerativeClustering.

DoublyLogisticApproximationTask

EOTask class for calculation of doubly logistic approximation on each pixel for a feature.

FilterTimeSeriesTask

Removes all frames in the time-series with dates outside the user specified time interval.

LinearFunctionTask

Applies a linear function to the values of input features.

SimpleFilterTask

Transforms an eopatch of shape [n, w, h, d] into [m, w, h, d] for m <= n.

SpatialResizeTask

Resizes the specified spatial features of EOPatch.

ValueFilloutTask

Overwrites occurrences of a desired value with their neighbor values in either forward, backward direction or both, along an axis.

HaralickTask

Task to compute Haralick texture images

HOGTask

Task to compute the histogram of gradient

AkimaInterpolationTask

Implements eolearn.features.InterpolationTask by using scipy.interpolate.Akima1DInterpolator

BSplineInterpolationTask

Implements eolearn.features.InterpolationTask by using scipy.interpolate.BSpline

CubicInterpolationTask

Implements eolearn.features.InterpolationTask by using scipy.interpolate.interp1d(kind='cubic')

CubicResamplingTask

Implements eolearn.features.ResamplingTask by using scipy.interpolate.interp1d(kind='cubic')

InterpolationTask

Main EOTask class for interpolation and resampling of time-series.

KrigingInterpolationTask

Implements eolearn.features.InterpolationTask by using sklearn.gaussian_process.GaussianProcessRegressor

LinearInterpolationTask

Implements eolearn.features.InterpolationTask by using numpy.interp and @numba.jit(nopython=True)

LinearResamplingTask

Implements eolearn.features.ResamplingTask by using scipy.interpolate.interp1d(kind='linear')

NearestResamplingTask

Implements eolearn.features.ResamplingTask by using scipy.interpolate.interp1d(kind='nearest')

ResamplingTask

A subclass of InterpolationTask task that works only with data with no missing, masked or invalid values.

SplineInterpolationTask

Implements eolearn.features.InterpolationTask by using scipy.interpolate.UnivariateSpline

LocalBinaryPatternTask

Task to compute the Local Binary Pattern images

BaseCompositingTask

Base class to create a composite of reference scenes

BlueCompositingTask

Blue band compositing method

HOTCompositingTask

HOT compositing method

HistogramMatchingTask

Histogram match of each band of each scene within a time-series with respect to the corresponding band of a reference composite.

MaxNDVICompositingTask

maxNDVI compositing method

MaxNDWICompositingTask

maxNDWI compositing method

MaxRatioCompositingTask

maxRatio compositing method

ReferenceScenesTask

Creates a layer of reference scenes which have the highest fraction of valid pixels.

AddMaxMinNDVISlopeIndicesTask

Task to compute the argmax and argmin of the NDVI slope

AddMaxMinTemporalIndicesTask

Task to compute temporal indices of the maximum and minimum of a data feature

AddSpatioTemporalFeaturesTask

Task that implements and adds to eopatch the spatio-temporal features proposed in [1].

geometry

ErosionTask

The task performs an erosion to the provided mask

MorphologicalFilterTask

Performs morphological operations on masks.

FelzenszwalbSegmentationTask

Super-pixel segmentation which uses Felzenszwalb's method of segmentation

MarkSegmentationBoundariesTask

Takes super-pixel segmentation mask and creates a new mask where boundaries of super-pixels are marked

SlicSegmentationTask

Super-pixel segmentation which uses SLIC method of segmentation

SuperpixelSegmentationTask

Super-pixel segmentation task

RasterToVectorTask

Task for transforming raster mask feature into vector feature.

VectorToRasterTask

A task for transforming a vector feature into a raster feature

io

GeopediaVectorImportTask

A task for importing Geopedia features into EOPatch vector features

VectorImportTask

A task for importing (Fiona readable) vector data files into an EOPatch

_BaseVectorImportTask

Base Vector Import Task, implementing common methods

AddGeopediaFeatureTask

Task for adding a feature from Geopedia to an existing EOPatch.

BaseRasterIoTask

Base abstract class for raster IO tasks

ExportToTiffTask

Task exports specified feature to GeoTIFF.

ImportFromTiffTask

Task for importing data from a GeoTIFF file into an EOPatch

SentinelHubDemTask

Adds DEM data (one of the collections) to

SentinelHubEvalscriptTask

Process API task to download data using evalscript

SentinelHubInputBaseTask

Base class for Processing API input tasks

SentinelHubInputTask

Process API input task that loads 16bit integer data and converts it to a 32bit float feature.

SentinelHubSen2corTask

Adds SCL (scene classification), CLD (cloud probability) or SNW (snow probability) (or their combination) Sen2Cor classification results to EOPatch's MASK or DATA feature.

mask

CloudMaskTask

Cloud masking with an improved s2cloudless model and the SSIM-based multi-temporal classifier.

ClassFrequencyTask

Calculates frequencies of each provided class through the temporal dimension.

JoinMasksTask

Joins together masks with the provided logical operation.

MaskFeatureTask

Masks out values of a feature using defined values of a given mask feature.

BaseSnowMaskTask

Base class for snow detection and masking

SnowMaskTask

The task calculates the snow mask using the given thresholds.

TheiaSnowMaskTask

Task to add a snow mask to an EOPatch.

ml_tools

BaseSamplingTask

A base class for sampling tasks

BlockSamplingTask

A task to randomly sample pixels or blocks of any size.

FractionSamplingTask

The main task for pixel-based sampling that samples a fraction of viable points determined by a mask feature.

GridSamplingTask

A task to sample blocks of a given size in a regular grid.

TrainTestSplitTask

Randomly assign each pixel or groups of pixels to multiple subsets (e.g., test/train/validate).