User Tools

Site Tools


api:dk11:delphi:gispixelfilter.tgis_pixelfiltermorphological

TGIS_PixelFilterMorphological class

DK11 for Delphi | GisPixelFilter.TGIS_PixelFilterMorphological | Classes | Constructors | Fields | Methods | Properties

Abstract class for all pixel layer morphological filters.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_PixelFilterMorphological = class( TGIS_PixelFilterBlockStats )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_PixelFilterMorphological : public TGIS_PixelFilterBlockStats
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public

Fields

Inherited Protected
Name Visibility Description
aBlock protected Currently processed block.
(Inherited from TGIS_PixelFilterAbstract)
bCompound protected If True, then the filter is a compound filter.
(Inherited from TGIS_PixelFilterAbstract)
bPrepare protected If True, then the filter must be prepared before execution; False by default.
(Inherited from TGIS_PixelFilterAbstract)
bProcPixel protected If True, then the filter processes pixel-by-bixel instead of blocks; False by default.
(Inherited from TGIS_PixelFilterAbstract)
dstNoData protected NoData value of the destination layer.
(Inherited from TGIS_PixelFilterAbstract)
iBlockSize protected Size of the filter block (row/column length).
(Inherited from TGIS_PixelFilterAbstract)
iValueCnt protected Number of valid values in the current block.
(Inherited from TGIS_PixelFilterAbstract)
oBounds protected Bounds of the source layer.
(Inherited from TGIS_PixelFilterAbstract)
srcLock protected Pixel lock of the source layer.
(Inherited from TGIS_PixelFilterAbstract)
srcMaxVal protected Maximum value of the source layer.
(Inherited from TGIS_PixelFilterAbstract)
srcMinVal protected Minimum value of the source layer.
(Inherited from TGIS_PixelFilterAbstract)
srcNoData protected NoData value of the source layer.
(Inherited from TGIS_PixelFilterAbstract)
srcValue protected Value (or lightness) of the current pixel of the source layer.
(Inherited from TGIS_PixelFilterAbstract)

Methods

Inherited Overrides Protected
Name Visibility Description
Execute public Applies the filter on the source layer.
(Inherited from TGIS_PixelFilterAbstract)
getStructuringElement protected Returns the structuring element.
getValue protected Gets the pixel value for a given position within the pixel lock bands.
(Inherited from TGIS_PixelFilterAbstract)
maskToString protected Prepares a string representation of a mask array.
(Inherited from TGIS_PixelFilterAbstract)
prepareMask protected Prepares mask array from a string representation(comma-separated integers).
(Inherited from TGIS_PixelFilterAbstract)
prepFilter protected Prepares the filter if necessary (if bPrepare=True).
(Inherited from TGIS_PixelFilterBlockStats)
procBlock protected Processes current block (if bSkipBlock=False).
(Inherited from TGIS_PixelFilterAbstract)
procCompound protected Processes image using other filters.
(Inherited from TGIS_PixelFilterBlockStats)
procPixel protected Processes current pixel (if bSkipBlock=True).
(Inherited from TGIS_PixelFilterBlockStats)
raiseBusyEvent protected Prepares and raises the BusyEvent.
(Inherited from TGIS_PixelFilterAbstract)

Properties

Inherited Protected
Name Visibility Description
Band public Defines the band to be processed; if set to zero then all bands will be processed; default is 1.
(Inherited from TGIS_PixelFilterAbstract)
BlockSize public Size of the moving block (number of columns/rows); default is 3 (for a 3x3 block).
(Inherited from TGIS_PixelFilterBlockStats)
ColorSpace public Defines the color space in which the image will be processed; default is HSL.
(Inherited from TGIS_PixelFilterAbstract)
CustomStructuringElement public Custom structuring element definition as a comma-separated list of zeros and ones; the square root of the number of values must be an odd integer.
DestinationLayer public Destination layer, pixel (image or grid); if nil then the source layer will be altered.
(Inherited from TGIS_PixelFilterAbstract)
SourceLayer public Source layer, pixel (image or grid).
(Inherited from TGIS_PixelFilterAbstract)
StructuringElementType public Predefined or custom structuring element type.

2019/01/25 16:33