ClearImage .NET API
ImageEditor Class





Inlite.ClearImageNet Namespace : ImageEditor Class
Modifies and analyzes Bitmap image
Syntax
'Declaration
 
Public Class ImageEditor 
'Usage
 
Dim instance As ImageEditor
public class ImageEditor 
public class ImageEditor 
public class ImageEditor 
public ref class ImageEditor 
Remarks

Image property contains an internal representation of the image.  All image processing methods are applied to this image. 

Before use, it should be assigned an initialized CiImage object or initialized using CiImage.OpenCiImage.CopyCiImage.Create or CiImage.CreateBpp methods..  Alternatively, Image can be initialized by using ImageEditor(Bitmap) constructor or assigning Bitmap property.

When processing is done save the image to a file using CiImage.SaveAs or CiImage.Append methods and/or obtained through Bitmap property.
Alternatively read barcode on pre-processed image using BarcodeReader.Read(ImageEditor) method.

Image also can be assigned ClearImage.CiRepair.Image or ClearImage.CiTools.Image properties to perform lower level image processing functions, not exposed in ImageEditor class.

 

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertySets Bitmap for editing. Gets results of editing  
Public PropertyGets results of editing. If Zone is set corresponding portion of the image.  
Public PropertyNumber of bits to store each pixel  
Public PropertyImage height in pixels  
Public PropertyGets number of black pixels in each column  
Public PropertyGets/Sets horizontal resolution in dots-per-inch(DPI)  
Public PropertyCiImage object associated with ImageEditor  
Public PropertyImage is opened  
Public PropertyMaximum line curvature for line identification (default medium)  
Public PropertyMaximum line angle in degrees for line identification (default 5.0)  
Public PropertyMaximum gap size in pixel for line identification (default 3)  
Public PropertyMinimum length in pixel for line identification (default 100)  
Public PropertyGets number of black pixels  
Public PropertyGets image rectangle encompassing all image pixels  
Public PropertyGets image rotation information  
Public PropertyGets confidence level of the last Rotation measurement  
Public PropertyGets image skew angle in degrees  
Public PropertyGets confidence level of the last SkewAngle measurement  
Public PropertyGets number of black pixels in each row  
Public PropertyGets/Sets vertical resolution in dots-per-inch(DPI)  
Public PropertyImage width in pixels  
Public PropertyLimits image processing to a rectangular area on an image  
Top
Public Methods
 NameDescription
Public MethodOverloaded. Optimized conversion of color and grayscale image to a bi-tonal image.  
Public MethodOverloaded. AND the working image with the specified Bitmap image  
Public MethodSet image margins  
Public MethodAutomatically deskew the image  
Public MethodChange each pixel color to a complementary value  
Public MethodSet top and left margins  
Public MethodAutomatically rotate the image  
Public MethodExtract document image using borders  
Public MethodOverloaded. Remove black noise objects  
Public MethodSet all pixels to white  
Public MethodSet background to white  
Public MethodCopies image from another ImageEditor object  
Public MethodOverloaded. Crop rectangle  
Public MethodDelete lines  
Public MethodDeletes image lines. Restores characters intersected by deleted lines.  
Public MethodImmediately free object resources.  
Public MethodOverloaded. Edit pages in an image file through event handler  
Public MethodFatten image  
Public MethodRemove header from faxed image  
Public MethodConvert standard resolution fax image to the fine resolution  
Public MethodObtains list of image lines  
Public MethodObtains list of image objects  
Public MethodInvert image pixels  
Public MethodIs image blank  
Public MethodOverloaded. OR the working image with the specified Bitmap image  
Public MethodOverloaded. Paste Bitmap image to this image  
Public MethodFind and straighten image lines  
Public MethodRemove halftone pattern  
Public MethodRemove punch holes form the image  
Public MethodRotates image in specified direction  
Public MethodOverloaded. Scale image  
Public MethodSkew image  
Public MethodSmoothen character edges  
Public Methodmethod ToBitonal  
Public Methodmethod ToGrayscale  
Public MethodReduces black area of image objects  
Public MethodOverloaded. XOR the working image with the specified Bitmap image  
Top
Public Events
 NameDescription
Public EventOccurs when new image is ready for editing by any of ImageEditor.Edit methods.  This handler performs actual processing of each page.  
Public EventOccurs when new line is found  by the ImageEditor.GetLines method.  
Public EventOccurs new object is found by the ImageEditor.GetObjects method.  
Top
Example

See Image Processing code examples on Inlite's How-to Web Site

See Also

Reference

ImageEditor Class
Inlite.ClearImageNet Namespace