Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- Amount
- An integer which represents the the distance, in pixels, to extend the black pixels. This value should be an integer from 1 to 500. The default value is 1.
- Direction
- A EnhancementDirection value which determines the direction to apply the dilation. Black pixels are expanded in this direction. The default value is All.
This method validates the input, examines the pixels, expands the black pixels, and returns results from the detection and correction process.
The Dilate object contains parameters that control the dilate process. If no parameters are provided, the current image has its black pixels expanded by one in all directions.
Note: Available in Professional edition.