SpatialFilter method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax short SpatialFilter (short iType);

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 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.

See Also

Elements:  

Topics:  Raster Images: Filtering Images
Raster Images: Where the Region Preempts the Bitmap