ClearImageJNI
Class ICiTools

java.lang.Object
  extended by ClearImageJNI.CiSuperObject
      extended by ClearImageJNI.ICiTools

public class ICiTools
extends CiSuperObject

ICiTools Interface.

This class corresponds to a COM interface. Objects of this class are not created directly, but are obtained by calling methods of other COM objects.


Field Summary
 
Fields inherited from class ClearImageJNI.CiSuperObject
lockObject
 
Constructor Summary
ICiTools(long oIn)
           
 
Method Summary
 void AndImage(ICiImage ImgSrc, int left, int top)
          Logical AND with another image.
 int CountPixels()
          Count image pixels.
 ICiImage ExtractObject(ICiObject Object)
          Extract an object into new image.
 void Fatten(int Pixels, EMorphDirections Direction)
          Fatten image.
 ICiLine FirstLine()
          Find first line.
 ICiObject FirstObject()
          Find first object.
 int getCx2l(int i)
          property cx2l.
 double getCx3d(int i)
          property cx3d.
 ICiImage getImage()
          Image as CiImage object.
 ELineCurvature getPLineCurvature()
          Maximum line curvature.
 ELineDirection getPLineDirection()
          Line direction(s).
 double getPMaxLineAngle()
          Maximum angle of line.
 int getPMaxLineGap()
          Maximum gap inside line in pixels.
 int getPMinLineLength()
          Minimum length of line in pixels.
 int getPScaleBmpBrightness()
          Brightness of image scaled down to Windows Bitmap.
 int getPScaleBmpContrast()
          Contrast of image scaled down to Windows Bitmap.
 EScaleBmpType getPScaleBmpType()
          Type of image-to-bitmap scale down.
 int getPScaleThreshold()
          Threshold for ciScaleThreshold-type scaling.
 EScaleType getPScaleType()
          Type of image to image scale down.
 int getRConfidence()
          Image rotation and skew confidence.
 short[] MeasureHorzHistogram()
          Measure horizontal histogram.
 ICiRect MeasureMargins()
          Measure image margins.
 EPageRotation MeasureRotation()
          Measure image rotation.
 double MeasureSkew()
          Measure image skew.
 short[] MeasureVertHistogram()
          Measure vertical histogram.
 ICiLine NextLine()
          Find another line.
 ICiObject NextObject()
          Find another object.
 void OrImage(ICiImage ImgSrc, int left, int top)
          Logical OR with another image.
 void PasteImage(ICiImage ImgSrc, int left, int top)
          Paste another image.
 void ScaleImage(double ScaleX, double ScaleY)
          Scale image.
 int ScaleToDIB(double ScaleX, double ScaleY)
          Scale image to Windows DIB.
 void setCx2l(int i, int arg)
          property cx2l.
 void setCx3d(int i, double arg)
          property cx3d.
 void setImage(ICiImage arg)
          Image as CiImage object.
 void setPLineCurvature(ELineCurvature arg)
          Maximum line curvature.
 void setPLineDirection(ELineDirection arg)
          Line direction(s).
 void setPMaxLineAngle(double arg)
          Maximum angle of line.
 void setPMaxLineGap(int arg)
          Maximum gap inside line in pixels.
 void setPMinLineLength(int arg)
          Minimum length of line in pixels.
 void setPScaleBmpBrightness(int arg)
          Brightness of image scaled down to Windows Bitmap.
 void setPScaleBmpContrast(int arg)
          Contrast of image scaled down to Windows Bitmap.
 void setPScaleBmpType(EScaleBmpType arg)
          Type of image-to-bitmap scale down.
 void setPScaleThreshold(int arg)
          Threshold for ciScaleThreshold-type scaling.
 void setPScaleType(EScaleType arg)
          Type of image to image scale down.
 void Skew(double Angle)
          Skew image.
 void Trim(int Pixels, EMorphDirections Direction)
          Trim image.
 void XorImage(ICiImage ImgSrc, int left, int top)
          Logical XOR with another image.
 
Methods inherited from class ClearImageJNI.CiSuperObject
CleanUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICiTools

public ICiTools(long oIn)
Method Detail

FirstObject

public ICiObject FirstObject()
                      throws CiException
Find first object.

Throws:
CiException

NextObject

public ICiObject NextObject()
                     throws CiException
Find another object.

Throws:
CiException

ExtractObject

public ICiImage ExtractObject(ICiObject Object)
                       throws CiException
Extract an object into new image.

Throws:
CiException

getPMinLineLength

public int getPMinLineLength()
                      throws CiException
Minimum length of line in pixels.

Throws:
CiException

setPMinLineLength

public void setPMinLineLength(int arg)
                       throws CiException
Minimum length of line in pixels.

Throws:
CiException

getPMaxLineGap

public int getPMaxLineGap()
                   throws CiException
Maximum gap inside line in pixels.

Throws:
CiException

setPMaxLineGap

public void setPMaxLineGap(int arg)
                    throws CiException
Maximum gap inside line in pixels.

Throws:
CiException

getPMaxLineAngle

public double getPMaxLineAngle()
                        throws CiException
Maximum angle of line.

Throws:
CiException

setPMaxLineAngle

public void setPMaxLineAngle(double arg)
                      throws CiException
Maximum angle of line.

Throws:
CiException

getPLineCurvature

public ELineCurvature getPLineCurvature()
                                 throws CiException
Maximum line curvature.

Throws:
CiException

setPLineCurvature

public void setPLineCurvature(ELineCurvature arg)
                       throws CiException
Maximum line curvature.

Throws:
CiException

FirstLine

public ICiLine FirstLine()
                  throws CiException
Find first line.

Throws:
CiException

NextLine

public ICiLine NextLine()
                 throws CiException
Find another line.

Throws:
CiException

MeasureMargins

public ICiRect MeasureMargins()
                       throws CiException
Measure image margins.

Throws:
CiException

MeasureSkew

public double MeasureSkew()
                   throws CiException
Measure image skew.

Throws:
CiException

MeasureRotation

public EPageRotation MeasureRotation()
                              throws CiException
Measure image rotation.

Throws:
CiException

CountPixels

public int CountPixels()
                throws CiException
Count image pixels.

Throws:
CiException

MeasureVertHistogram

public short[] MeasureVertHistogram()
                             throws CiException
Measure vertical histogram.

Throws:
CiException

MeasureHorzHistogram

public short[] MeasureHorzHistogram()
                             throws CiException
Measure horizontal histogram.

Throws:
CiException

getImage

public ICiImage getImage()
                  throws CiException
Image as CiImage object.

Throws:
CiException

setImage

public void setImage(ICiImage arg)
              throws CiException
Image as CiImage object.

Throws:
CiException

getRConfidence

public int getRConfidence()
                   throws CiException
Image rotation and skew confidence.

Throws:
CiException

getPLineDirection

public ELineDirection getPLineDirection()
                                 throws CiException
Line direction(s).

Throws:
CiException

setPLineDirection

public void setPLineDirection(ELineDirection arg)
                       throws CiException
Line direction(s).

Throws:
CiException

Skew

public void Skew(double Angle)
          throws CiException
Skew image.

Throws:
CiException

Fatten

public void Fatten(int Pixels,
                   EMorphDirections Direction)
            throws CiException
Fatten image.

Throws:
CiException

Trim

public void Trim(int Pixels,
                 EMorphDirections Direction)
          throws CiException
Trim image.

Throws:
CiException

AndImage

public void AndImage(ICiImage ImgSrc,
                     int left,
                     int top)
              throws CiException
Logical AND with another image.

Throws:
CiException

OrImage

public void OrImage(ICiImage ImgSrc,
                    int left,
                    int top)
             throws CiException
Logical OR with another image.

Throws:
CiException

XorImage

public void XorImage(ICiImage ImgSrc,
                     int left,
                     int top)
              throws CiException
Logical XOR with another image.

Throws:
CiException

PasteImage

public void PasteImage(ICiImage ImgSrc,
                       int left,
                       int top)
                throws CiException
Paste another image.

Throws:
CiException

getCx3d

public double getCx3d(int i)
               throws CiException
property cx3d.

Throws:
CiException

setCx3d

public void setCx3d(int i,
                    double arg)
             throws CiException
property cx3d.

Throws:
CiException

getCx2l

public int getCx2l(int i)
            throws CiException
property cx2l.

Throws:
CiException

setCx2l

public void setCx2l(int i,
                    int arg)
             throws CiException
property cx2l.

Throws:
CiException

getPScaleType

public EScaleType getPScaleType()
                         throws CiException
Type of image to image scale down.

Throws:
CiException

setPScaleType

public void setPScaleType(EScaleType arg)
                   throws CiException
Type of image to image scale down.

Throws:
CiException

getPScaleThreshold

public int getPScaleThreshold()
                       throws CiException
Threshold for ciScaleThreshold-type scaling. Range 0%-100%.

Throws:
CiException

setPScaleThreshold

public void setPScaleThreshold(int arg)
                        throws CiException
Threshold for ciScaleThreshold-type scaling. Range 0%-100%.

Throws:
CiException

ScaleImage

public void ScaleImage(double ScaleX,
                       double ScaleY)
                throws CiException
Scale image.

Throws:
CiException

getPScaleBmpBrightness

public int getPScaleBmpBrightness()
                           throws CiException
Brightness of image scaled down to Windows Bitmap. Range 0-255.

Throws:
CiException

setPScaleBmpBrightness

public void setPScaleBmpBrightness(int arg)
                            throws CiException
Brightness of image scaled down to Windows Bitmap. Range 0-255.

Throws:
CiException

getPScaleBmpContrast

public int getPScaleBmpContrast()
                         throws CiException
Contrast of image scaled down to Windows Bitmap. Range 0-255.

Throws:
CiException

setPScaleBmpContrast

public void setPScaleBmpContrast(int arg)
                          throws CiException
Contrast of image scaled down to Windows Bitmap. Range 0-255.

Throws:
CiException

getPScaleBmpType

public EScaleBmpType getPScaleBmpType()
                               throws CiException
Type of image-to-bitmap scale down.

Throws:
CiException

setPScaleBmpType

public void setPScaleBmpType(EScaleBmpType arg)
                      throws CiException
Type of image-to-bitmap scale down.

Throws:
CiException

ScaleToDIB

public int ScaleToDIB(double ScaleX,
                      double ScaleY)
               throws CiException
Scale image to Windows DIB.

Throws:
CiException