ClearImageJNI
Class ICiRepair

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

public class ICiRepair
extends CiSuperObject

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 ClearImageJNI.CiSuperObject
lockObject
 
Constructor Summary
ICiRepair(long oIn)
           
 
Method Summary
 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 ClearImageJNI.CiSuperObject
CleanUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICiRepair

public ICiRepair(long oIn)
Method Detail

FaxStandardToFine

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

Throws:
CiException

FaxRemoveBlankLines

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

Throws:
CiException

FaxRemoveHeader

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

Throws:
CiException

AutoDeskew

public double AutoDeskew()
                  throws CiException
Automatically deskew image.

Throws:
CiException

AutoRotate

public EPageRotation AutoRotate()
                         throws CiException
Automatically rotate image.

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

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

RemovePunchHoles

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

Throws:
CiException

RemoveHalftone

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

Throws:
CiException

SmoothCharacters

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

Throws:
CiException

CleanNoise

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

Throws:
CiException

AutoInvertImage

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

Throws:
CiException

ReconstructLines

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

Throws:
CiException

AutoCrop

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

Throws:
CiException

AutoRegister

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

Throws:
CiException

DeleteLines

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

Throws:
CiException

BorderExtract

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

Throws:
CiException

ClearBackground

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

Throws:
CiException

Resize

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

Throws:
CiException

IsBlankImage

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

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

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

AdvancedBinarize

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

Throws:
CiException

MinimizeBitsPerPixel

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

Throws:
CiException

CleanNoiseExt

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

Throws:
CiException