Trim image
Visual Basic |
---|
Public Sub Trim( _ ByVal Pixels As Long, _ ByVal Direction As EMorphDirections _ ) |
- Pixels
- Number of pixels to trim from each side
- Direction
Value Description ciMorphHorz Modify pixels located to the left and right ciMorphVert Modify pixels located up and down ciMorphDiag Modify pixels located diagonally ciMorphHorzAndVert Modify pixels located left, right, up or down ciMorphAllNeighbours Modify all neighboring pixels
This method generates an error if Image is not bi-tonal.
Morphological Functions
VB Example (Visual Basic) | ![]() | |
---|---|---|
|
CiTools Object | Fatten | Trim | Outline | Skeleton