ClearImage COM Server Send comments on this topic.
Fatten Method
See Also  Example
Pixels
Number of Pixels to add in each direction
Direction

Description

Fatten image

Syntax

Visual Basic
Public Sub Fatten( _
   ByVal Pixels As Long, _
   ByVal Direction As EMorphDirections _
) 

Parameters

Pixels
Number of Pixels to add in each direction
Direction
ValueDescription
ciMorphHorzModify pixels located to the left and right
ciMorphVertModify pixels located up and down
ciMorphDiagModify pixels located diagonally
ciMorphHorzAndVertModify pixels located left, right, up or down
ciMorphAllNeighboursModify all neighboring pixels

Remarks

This method generates an error if Image is not bi-tonal.

Example

Morphological Functions
VB Example (Visual Basic)Copy Code
Public Sub T_Morph(ByRef Tools As CiTools)
  Tools.Fatten 2, ciMorphAllNeighbours
  Tools.Trim 4, ciMorphVert
  Tools.Outline
  Tools.Skeleton
End Sub

See Also