DK11 for Delphi | GisPixelFilter.TGIS_PixelFilterNoiseSaltPepper | Classes | Constructors | Fields | Methods | Properties
Salt-And-Pepper noise filter for pixel layers.
// Delphi type TGIS_PixelFilterNoiseSaltPepper = class( TGIS_PixelFilterNoise ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_PixelFilterNoiseSaltPepper : public TGIS_PixelFilterNoise { };
→ TObject → TGIS_Object → TGIS_PixelFilterAbstract → TGIS_PixelFilterNoise
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) |
|
Name | Visibility | Description | |
---|---|---|---|
Execute | public | Applies the filter on the source layer. (Inherited from TGIS_PixelFilterAbstract) |
|
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). (Overrides TGIS_PixelFilterAbstract.prepFilter) |
|
procBlock | protected | Processes current block (if bSkipBlock=False). (Inherited from TGIS_PixelFilterNoise) |
|
procCompound | protected | Processes image using other filters. (Inherited from TGIS_PixelFilterNoise) |
|
procPixel | protected | Processes current pixel (if bSkipBlock=True). (Overrides TGIS_PixelFilterAbstract.procPixel) |
|
raiseBusyEvent | protected | Prepares and raises the BusyEvent. (Inherited from TGIS_PixelFilterAbstract) |
|
Name | Visibility | Description | |
---|---|---|---|
Amount | public | Percentage amount of noise in the output image; varies from 0 to 100. (Inherited from TGIS_PixelFilterNoise) |
|
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) |
|
ColorSpace | public | Defines the color space in which the image will be processed; default is HSL. (Inherited from TGIS_PixelFilterAbstract) |
|
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) |
|
This operation can also be performed with Pipeline.