PICTools Programmer's Reference
Erode

Erodes an image. Erosion is a "morphological" operation, modifying the shape of objects in an image. It is commonly used in image analysis operations. With some care, it can be used for some image enhancement tasks as well. The example below shows horizontal erosion.  With color or gray input data, the dilate operation achieves a similar effect, by shrinking dark objects.

Morph  →  erodeh

The uncompressed image to be processed must reside in the Get Queue prior to REQ_EXEC. Typically, the image will be fully contained in the Get Queue, but that is not a requirement. The output image will be placed into the Put Queue during REQ_EXEC.

Padding pixels present at the end of each line may be modified by this operation.

In addition to placing an output image into the Put Queue, this operation stores some output information into the PIC_PARM structure in the following locations.

 

 


©2022. Accusoft Corporation. All Rights Reserved.

Send Feedback