User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_pixelfilterabstract

TGIS_PixelFilterAbstract class

DK11 for .NET | TatukGIS.NDK.TGIS_PixelFilterAbstract | Classes | Constructors | Fields | Methods | Properties | Events

Abstract class for all pixel layer filters.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public class TGIS_PixelFilterAbstract : TGIS_Object
{
}
' VisualBasic
Public Class TGIS_PixelFilterAbstract
  Inherits TGIS_Object
End Class
// Oxygene
type
  TGIS_PixelFilterAbstract = public class( TGIS_Object )
  end;

Inheritance

→ TGIS_Object

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_PixelFilterAbstract() public Creates an instance.

Fields

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

Methods

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

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.
ColorSpace public Defines the color space in which the image will be processed; default is HSL.
DestinationLayer public Destination layer, pixel (image or grid); if nil then the source layer will be altered.
SourceLayer public Source layer, pixel (image or grid).

Events

Inherited Protected
Name Visibility Description
BusyEvent public Event fired upon progress of the generation process.

References

2019/01/25 17:10