ClearImage COM API
CiTools Object
Description

Image analysis function to implement form-processing and specialized imaging applications. 

Public Methods
Logical AND the image with another image
Count image pixels
Extract an object into a new image
Fatten image
Find the first line
Find the first object
Measure horizontal histogram
Measure image margins
Measure image rotation
Measure image skew
Measure vertical histogram
Find another line
Find another object
Logical OR the image with another image
Paste another image onto the image
Scale image
Skew image
Trim image
Logical XOR the image with another image
Public Properties
Image as the CiImage object
Maximum line curvature
Line direction(s)
Maximum angle of line
Maximum gap inside line in pixels
Minimum length of line in pixels
Threshold for ciScaleThreshold-type scaling. Range 0-100
Type of threshold applied to scaling down bi-tonal image
Image rotation and skew confidence
Example
Sub T_Tools (ByRef Ci As CiServer, ByRef Img As CiImage)
    ' Create CiTools object
  Dim Tools As CiTools  
  Set Tools = Ci.CreateTools
      '  Attach CiImage
  Tools.Image = Img
      '  Use CiTools Object.  For example
  Debug.Print "Pixels=" & Tools.CountPixels
  Debug.Print "Skew=" & Tools.MeasureSkew
  T_MeasureHistogram Tools
End Sub
See Also

CiTools Members