EO Tasks

core

AddFeature

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.

DuplicateFeature

Duplicates one or multiple features in an EOPatch.

ExtractBandsTask

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

InitializeFeature

Initializes the values of a feature.

LoadFromDisk

Loads the given EOPatch from disk.

MapFeatureTask

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

MergeFeatureTask

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

MoveFeature

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

RemoveFeature

Removes one or multiple features from the given EOPatch.

RenameFeature

Renames one or multiple features from the given EOPatch.

SaveToDisk

Saves the given EOPatch to disk.

ZipFeatureTask

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

CompositeTask

Creates a task that is composite of two tasks.

coregistration

ECCRegistration

Registration task implementing an intensity-based method from OpenCV

PointBasedRegistration

Registration class implementing a point-based registration from OpenCV contrib package

RegistrationTask

Abstract class for multi-temporal image co-registration

ThunderRegistration

Registration task implementing a translational registration using the thunder-registration package

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 Laplacian of Gaussian (LoG) method

LoGBlobTask

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

FeatureExtractionTask

Task that applies an algebraic expression on each value of the feature

FilterTimeSeries

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

SimpleFilterTask

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

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

AkimaInterpolation

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

BSplineInterpolation

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

CubicInterpolation

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

CubicResampling

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

InterpolationTask

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

KrigingInterpolation

Implements eolearn.features.InterpolationTask by using sklearn.gaussian_process.GaussianProcessRegressor Gaussian processes (superset of kriging) are especially used in geological missing data estimation.

LegacyInterpolation

Implements eolearn.features.InterpolationTask by using scipy.interpolate.interp1d(kind=’linear’)

LinearInterpolation

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

LinearResampling

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

NearestResampling

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.

SplineInterpolation

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

LocalBinaryPatternTask

Task to compute the Local Binary Pattern images

BaseCompositing

Base class to create a composite of reference scenes

BlueCompositing

Blue band compositing method

HOTCompositing

HOT compositing method

HistogramMatching

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

MaxNDVICompositing

maxNDVI compositing method

MaxNDWICompositing

maxNDWI compositing method

MaxRatioCompositing

maxRatio compositing method

ReferenceScenes

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

AddMaxMinNDVISlopeIndicesTask

Task to compute the argmax and armgin 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

PointSamplingTask

Task for spatially sampling points from a time-series.

FelzenszwalbSegmentation

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

MarkSegmentationBoundaries

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

SlicSegmentation

Super-pixel segmentation which uses SLIC method of segmentation

SuperpixelSegmentation

Super-pixel segmentation task

RasterToVector

Task for transforming raster mask feature into vector feature.

VectorToRaster

Task that transforms vector data into a raster feature.

io

AddGeopediaFeature

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

BaseLocalIo

Base abstract class for local IO tasks

ExportToTiff

Task exports specified feature to Geo-Tiff.

ImportFromTiff

Task for importing data from a Geo-Tiff file into an EOPatch

AddSen2CorClassificationFeature

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

DEMWCSInput

Adds DEM to DATA_TIMELESS EOPatch feature.

DEMWMSInput

Adds DEM to DATA_TIMELESS EOPatch feature.

L8L1CWCSInput

Task for creating EOPatches and filling them with Landsat-8 L1C data using Sentinel Hub’s WCS request.

L8L1CWMSInput

Task for creating EOPatches and filling them with Landsat-8 L1C data using Sentinel Hub’s WMS request.

S1IWWCSInput

Task for creating EOPatches and filling them with Sentinel-1 IW GRD data using Sentinel Hub’s WCS request.

S1IWWMSInput

Task for creating EOPatches and filling them with Sentinel-1 IW GRD data using Sentinel Hub’s WMS request.

S2L1CWCSInput

Task for creating EOPatches and filling them with Sentinel-2 L1C data using Sentinel Hub’s WCS request.

S2L1CWMSInput

Task for creating EOPatches and filling them with Sentinel-2 L1C data using Sentinel Hub’s WMS request.

S2L2AWCSInput

Task for creating EOPatches and filling them with Sentinel-2 L2A data using Sentinel Hub’s WCS request.

S2L2AWMSInput

Task for creating EOPatches and filling them with Sentinel-2 L2A data using Sentinel Hub’s WMS request.

SentinelHubOGCInput

Task for creating EOPatch and filling it with data using Sentinel Hub’s OGC request.

SentinelHubWCSInput

Task for creating EOPatches and filling them with data using Sentinel Hub’s WCS request.

SentinelHubWMSInput

Task for creating EOPatches and filling them with data using Sentinel Hub’s WMS request.

mask

AddCloudMaskTask

Task to add a cloud mask and cloud probability map to an EOPatch

ClassFrequencyTask

Calculates frequencies of each provided class through the temporal dimension.

AddValidDataMaskTask

EOTask for adding custom mask array used to filter reflectances data

MaskFeature

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

BaseSnowMask

Base class for snow detection and masking

SnowMask

The task calculates the snow mask using the given thresholds.

TheiaSnowMask

Task to add a snow mask to an EOPatch.

ml_tools

ImageClassificationMaskTask

This task applies pixel-based uni-temporal classifier to each image in the patch and appends to each image the classification mask.

MorphologicalFilterTask

EOTask that performs morphological operations on masks.

PostprocessingTask

Base class for all post-processing tasks

TrainTestSplitTask

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