ClearImageJNI
Class ICiRepair

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

public class ICiRepair
extends JComObject

ICiRepair 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 ICiRepair _ezjcomCoerceObject(JComObject obj)
          Use this method only for creating a COM interface of type ICiRepair from another existing COM interface, when you know that it is possible.
 void AdvancedBinarize(int targetDpi, double reserved1, double reserved2)
          Advanced Binarize.
 void AutoCrop(int NewLeftMargin, int NewTopMargin, int NewRightMargin, int NewBottomMargin)
          Set image margins.
 double AutoDeskew()
          Automatically deskew image.
 void AutoInvertImage(int Threshold)
          Negative to Positive.
 void AutoRegister(int NewLeftMargin, int NewTopMargin)
          Set top and left margins.
 EPageRotation AutoRotate()
          Automatically rotate image.
 void BorderExtract(EBorderExtractFlags Flags, EBorderExtractAlgorithm Algorithm)
          Extract document image using borders.
 void CleanNoise(int NoiseSize)
          Remove noise objects.
 void CleanNoiseExt(ECleanNoiseFlags Flags, int maxNoiseSizeHorz, int maxNoiseSizeVert, int minObjectDistance, int reserved0)
          Remove noise objects (extended).
 void ClearBackground(double ThrLevel)
          Set background to white.
 void DeleteLines(ELineDirection Direction, EBoolean bRepair)
          Delete lines and reconnect intersected objects.
 void FaxRemoveBlankLines()
          Remove blank lines from faxed image.
 void FaxRemoveHeader()
          Remove header from faxed image.
 void FaxStandardToFine()
          Convert standard resolution fax image to fine resolution.
 int getCx2l(int i)
          property cx2l.
 double getCx3d(int i)
          property cx3d.
 ICiImage getImage()
          Image as CiImage object.
 ELineCurvature getPLineCurvature()
          Maximum line curvature.
 double getPMaxLineAngle()
          Maximum angle of line.
 int getPMaxLineGap()
          Maximum gap inside line in pixels.
 int getPMinLineLength()
          Minimum length of line in pixels.
 EBoolean IsBlankImage(int reserved0, double reserved1, double reserved2)
          Is image blank.
 void MinimizeBitsPerPixel(double reserved1, double reserved2)
          Minimize Bits per Pixel.
 void ReconstructLines(ELineDirection Direction)
          Find and straighten image lines.
 void RemoveHalftone()
          Remove halftone from image background.
 void RemovePunchHoles()
          Remove punch holes form image.
 void Resize(EPageSize PageSize, EPageOrientation PageOrientation, EImageAlignment ImageAlignment, double Width, double Height, ESizeUnit Unit)
          Resize image to page.
 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 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 SmoothCharacters(ESmoothType Type)
          Smoothen character edges.
 
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

FaxStandardToFine

public void FaxStandardToFine()
                       throws JComException
Convert standard resolution fax image to fine resolution.

Throws:
JComException

FaxRemoveBlankLines

public void FaxRemoveBlankLines()
                         throws JComException
Remove blank lines from faxed image.

Throws:
JComException

FaxRemoveHeader

public void FaxRemoveHeader()
                     throws JComException
Remove header from faxed image.

Throws:
JComException

AutoDeskew

public double AutoDeskew()
                  throws JComException
Automatically deskew image.

Throws:
JComException

AutoRotate

public EPageRotation AutoRotate()
                         throws JComException
Automatically rotate image.

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

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

RemovePunchHoles

public void RemovePunchHoles()
                      throws JComException
Remove punch holes form image.

Throws:
JComException

RemoveHalftone

public void RemoveHalftone()
                    throws JComException
Remove halftone from image background.

Throws:
JComException

SmoothCharacters

public void SmoothCharacters(ESmoothType Type)
                      throws JComException
Smoothen character edges.

Throws:
JComException

CleanNoise

public void CleanNoise(int NoiseSize)
                throws JComException
Remove noise objects.

Throws:
JComException

AutoInvertImage

public void AutoInvertImage(int Threshold)
                     throws JComException
Negative to Positive.

Throws:
JComException

ReconstructLines

public void ReconstructLines(ELineDirection Direction)
                      throws JComException
Find and straighten image lines.

Throws:
JComException

AutoCrop

public void AutoCrop(int NewLeftMargin,
                     int NewTopMargin,
                     int NewRightMargin,
                     int NewBottomMargin)
              throws JComException
Set image margins.

Throws:
JComException

AutoRegister

public void AutoRegister(int NewLeftMargin,
                         int NewTopMargin)
                  throws JComException
Set top and left margins.

Throws:
JComException

DeleteLines

public void DeleteLines(ELineDirection Direction,
                        EBoolean bRepair)
                 throws JComException
Delete lines and reconnect intersected objects.

Throws:
JComException

BorderExtract

public void BorderExtract(EBorderExtractFlags Flags,
                          EBorderExtractAlgorithm Algorithm)
                   throws JComException
Extract document image using borders.

Throws:
JComException

ClearBackground

public void ClearBackground(double ThrLevel)
                     throws JComException
Set background to white.

Throws:
JComException

Resize

public void Resize(EPageSize PageSize,
                   EPageOrientation PageOrientation,
                   EImageAlignment ImageAlignment,
                   double Width,
                   double Height,
                   ESizeUnit Unit)
            throws JComException
Resize image to page.

Throws:
JComException

IsBlankImage

public EBoolean IsBlankImage(int reserved0,
                             double reserved1,
                             double reserved2)
                      throws JComException
Is image blank.

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

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

AdvancedBinarize

public void AdvancedBinarize(int targetDpi,
                             double reserved1,
                             double reserved2)
                      throws JComException
Advanced Binarize.

Throws:
JComException

MinimizeBitsPerPixel

public void MinimizeBitsPerPixel(double reserved1,
                                 double reserved2)
                          throws JComException
Minimize Bits per Pixel.

Throws:
JComException

CleanNoiseExt

public void CleanNoiseExt(ECleanNoiseFlags Flags,
                          int maxNoiseSizeHorz,
                          int maxNoiseSizeVert,
                          int minObjectDistance,
                          int reserved0)
                   throws JComException
Remove noise objects (extended).

Throws:
JComException

_ezjcomCoerceObject

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

Throws:
JComException