ImageMan.Net Version 3 Summer 2012 Release
Analyze Class
Members  See Also  Send Feedback
DTI.ImageMan Namespace : Analyze Class





Glossary Item Box

The Analyze class contains several static functions for image analysis.

Object Model

Analyze Class

Syntax

Visual Basic (Declaration) 
Public Class Analyze 
Visual Basic (Usage)Copy Code
Dim instance As Analyze
C# 
public class Analyze 
JScript 
public class Analyze 
Managed Extensions for C++ 
public __gc class Analyze 
C++/CLI 
public ref class Analyze 

Remarks

The Analyze class includes several different Histogram functions. Some of these functions work on the entire image or a portion thereof: GetMonochromeBlackPixelCount, GetGrayscaleHistogram, GetColorHistogram. Other functions will return histograms or pixel counts for all the columns and rows passed in including GetMonochromeBlackPixelCounts and GetGrayscaleHistograms.

The Analyze class also contains a function for returning the location of the images borders, GetBorders, if the image is scanned in and has black borders. And if the image is a blank page, IsBlankPage, which can be used as a page separator when batch scanning.

Finally the Analyze class contains functions particularly of use for scanned text images. These functions are not designed to work with photographs and will not return meaningful information if they are used with photographs. These text functions include: IsTextFlipped which will return true if the page has been scanned in upside down, and IsTextColorInverted, which will return true if there is white text on a black background in which case the image can be automatically inverted.

Inheritance Hierarchy

System.Object
   DTI.ImageMan.Analyze

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.