The function applies a pre-defined ImageMan convolution filter to an image.
|
Parameter |
Type |
Description |
|
hImage |
HANDLE |
Identifies the image to apply the filter to. |
|
iFilter |
enumFilter |
Specifies the pre-defined filter to use. |
iFilter Valid values for pre-defined filters are:
|
Value |
Description |
|
IMG_SHARPEN |
a generic sharpen filter |
|
IMG_BLUR |
a generic blurring filter |
|
IMG_EMBOSS |
metal plate embossing |
|
IMG_EDGEDETECT1 |
edge detection - method 1 |
|
IMG_EDGEDETECT2 |
edge detection - method 2 |
|
IMG_VERTEDGE |
vertical edge detection |
|
IMG_HORIZEDGE |
horizontal edge detection |
|
IMG_LAPLACESHARP |
a LaPlacian sharpening filter |
Return Value
This function returns IMG_OK if successful. Otherwise it returns an ImageMan error.
Comments
This function operates only on 24bit color images.
© 1995-2004 Data Techniques, Inc. All rights reserved.