SpatialFilter method (ILEADRasterProcess)
short SpatialFilter (ILEADRaster* pRaster, SpatialFilterConstants sfType); | |
Overview |
Refer to Detecting and Enhancing Edges and Lines. |
Remarks
Imposes a spatial filter on the bitmap. Spatial filters are used for operations such as sharpening an image or detecting edges within the image.
This method supports 12 and 16-bit grayscale images and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.
This method works best with 24-bit, 16-bit, or grayscale bitmaps. If a bitmap uses a color palette, this method matches the new brightness value of each pixel to the nearest color in the existing palette.
This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.
See Also
Topics: |
|
|