Removes the black pixels in the current image by the given amount in the given direction. Uses the default settings of the DocumentErode Method.
Visual Basic |
---|
Public Sub DocumentErodeUsingDefaults() |
This method is similar to the DocumentErode Method, but uses the default settings.
Erosion is the process of removing the specified number of black pixels from the existing black pixels on the specified edge or edges of an image.
Output
- ImagXpress validates the input, examines the pixels, reduces black pixels, and returns results from the detection and correction process. The current image content may be modified. If the operation fails, the current image is unchanged.
- IPImageWasModified is set to true if the image was modified, false if the image was not modified.
Using DocumentErode
1. Load a 1 bit image from a file or stream input.
2. Call DocumentErodeUsingDefaults.
3. The current image is eroded.
Note: Available in Professional Edition.