Image Class |
Namespace: OmniPageCSDK.IproPlus
The Image type exposes the following members.
| Name | Description | |
|---|---|---|
| Resolution |
Image resolution, readable/writable property.
|
| Name | Description | |||
|---|---|---|---|---|
| AutoCrop |
Crops the active object.
| |||
| Convert |
Converts the active object.
| |||
| Convert2BW |
This method converts the page to black-and-white (bitonal, one-bit color depth) from grayscale or color. | |||
| Copy |
Copies the selected source.
| |||
| Deskew |
This method de-skews a page based on the Slope parameter. | |||
| Despeckle |
This method performs adaptive noise removal if the current image is BW. For other image types this method does nothing. | |||
| DespeckleByMethod |
Use this method to perform immediate adaptive noise removal on the BW page. | |||
| DetectPunchHoles |
Use this method to detect puncholes in the document. | |||
| DetectSkew |
This method attempts to detect the orientation and the slope of the page. | |||
| Dilate |
Sets the dilation level. | |||
| Dispose | Releases all resources used by the Image | |||
| Erode |
Sets the erosion level. | |||
| Fill |
Fills the specified area. | |||
| GetDocument |
Returns the parent Document object.
| |||
| GetEngine |
Returns the Engine object.
| |||
| GetOrigin |
Returns the source of the image. | |||
| GetToMemory |
This method returns the content of the image as a MemoryBitmap object. | |||
| ImageInfo |
This property returns a reference to the ImageInfo object which contains information about the image. | |||
| Invert |
This method inverts the specified area of the page. | |||
| IsBlank |
This method returns True if the image is a blank one.
| |||
| LocateHandWriting | ||||
| MatchFileFormat |
This method compares the specified image format with the current image format features. | |||
| Merge |
Merges the target images.
| |||
| Palette |
This property returns a variant containing a SAFEARRAY of Bytes for C++ or a byte array for Visual Basic programmers. | |||
| Paletted |
This property returns True if the image is a palette-color one. | |||
| RemoveBorders |
Removes the borders. | |||
| RemoveLines | This API is preliminary and subject to change. | |||
| RemovePunchHoles |
Removes the punchholes. | |||
| Render |
Renders the image. | |||
| RenderToMemory |
Render the image to the memory. | |||
| RenderToMemoryByParams |
Renders the specified image to the memory according to the set parameters. | |||
| Rotate |
This method rotates the page, based on the Rotation parameter. | |||
| TransformCoordinates |
This method transforms a pixel-coordinate of a point in one of the stored image (SrcImage) versions into the pixel-coordinate of another image (DstImage) version. |
The role of this object is to facilitate access to the managed images, and also to provide a basic operation set for image manipulation. A large image manipulation library is available through the ImageFile object.
The original image is the main image that was acquired from some external image source. Image preprocessing and image manipulation occurs on that image. The thumbnail image is a smaller version of the current image. The BW image is created by the first operation that requires it (preprocessing, page-parsing, recognition). The OCR image is only available after the recognition.