ClearImageJNI
Class ICiTools

java.lang.Object
  extended by ezjcom.JComObject
      extended by ClearImageJNI.ICiTools

public class ICiTools
extends JComObject

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 ezjcom.JComObject
__JComWarnMTA
 
Method Summary
static ICiTools _ezjcomCoerceObject(JComObject obj)
          Use this method only for creating a COM interface of type ICiTools from another existing COM interface, when you know that it is possible.
 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 ezjcom.JComObject
__release, _JComAddEventListener, _JComRemoveEventListener, equals, ezJComCloseActiveX, ezJComInitActiveX, finalize, hashCode, JComCallMethod, JComCoerceObjectToAnotherType, JComCreateLicensedObject, JComCreateLicensedObject, JComCreateObjectFromString, JComGetProperty, JComModeMTA, JComRestoreObjectState, JComSaveObjectState, JComSetProperty, JComShutdown, JComStopWindowsMessageLoop
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

FirstObject

public ICiObject FirstObject()
                      throws JComException
Find first object.

Throws:
JComException

NextObject

public ICiObject NextObject()
                     throws JComException
Find another object.

Throws:
JComException

ExtractObject

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

Throws:
JComException

getPMinLineLength

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

Throws:
JComException

setPMinLineLength

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

Throws:
JComException

getPMaxLineGap

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

Throws:
JComException

setPMaxLineGap

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

Throws:
JComException

getPMaxLineAngle

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

Throws:
JComException

setPMaxLineAngle

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

Throws:
JComException

getPLineCurvature

public ELineCurvature getPLineCurvature()
                                 throws JComException
Maximum line curvature.

Throws:
JComException

setPLineCurvature

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

Throws:
JComException

FirstLine

public ICiLine FirstLine()
                  throws JComException
Find first line.

Throws:
JComException

NextLine

public ICiLine NextLine()
                 throws JComException
Find another line.

Throws:
JComException

MeasureMargins

public ICiRect MeasureMargins()
                       throws JComException
Measure image margins.

Throws:
JComException

MeasureSkew

public double MeasureSkew()
                   throws JComException
Measure image skew.

Throws:
JComException

MeasureRotation

public EPageRotation MeasureRotation()
                              throws JComException
Measure image rotation.

Throws:
JComException

CountPixels

public int CountPixels()
                throws JComException
Count image pixels.

Throws:
JComException

MeasureVertHistogram

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

Throws:
JComException

MeasureHorzHistogram

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

Throws:
JComException

getImage

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

Throws:
JComException

setImage

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

Throws:
JComException

getRConfidence

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

Throws:
JComException

getPLineDirection

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

Throws:
JComException

setPLineDirection

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

Throws:
JComException

Skew

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

Throws:
JComException

Fatten

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

Throws:
JComException

Trim

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

Throws:
JComException

AndImage

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

Throws:
JComException

OrImage

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

Throws:
JComException

XorImage

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

Throws:
JComException

PasteImage

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

Throws:
JComException

getCx3d

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

Throws:
JComException

setCx3d

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

Throws:
JComException

getCx2l

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

Throws:
JComException

setCx2l

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

Throws:
JComException

getPScaleType

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

Throws:
JComException

setPScaleType

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

Throws:
JComException

getPScaleThreshold

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

Throws:
JComException

setPScaleThreshold

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

Throws:
JComException

ScaleImage

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

Throws:
JComException

getPScaleBmpBrightness

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

Throws:
JComException

setPScaleBmpBrightness

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

Throws:
JComException

getPScaleBmpContrast

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

Throws:
JComException

setPScaleBmpContrast

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

Throws:
JComException

getPScaleBmpType

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

Throws:
JComException

setPScaleBmpType

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

Throws:
JComException

ScaleToDIB

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

Throws:
JComException

_ezjcomCoerceObject

public static ICiTools _ezjcomCoerceObject(JComObject obj)
                                    throws JComException
Use this method only for creating a COM interface of type ICiTools from another existing COM interface, when you know that it is possible.

Throws:
JComException