Visual Basic (Declaration) | |
---|---|
Public Class InvertedPageActivity Inherits ImageProcessingBaseActivity Implements IComponent, IDisposable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As InvertedPageActivity |
C# | |
---|---|
public class InvertedPageActivity : ImageProcessingBaseActivity, IComponent, IDisposable |
C++/CLI | |
---|---|
public ref class InvertedPageActivity : public ImageProcessingBaseActivity, IComponent, IDisposable |
This example will show how to use the InvertedPageActivity class to check and auto-correct inverted images.
An inverted Leadtools.Workflow.Raster.WorkflowImage is an image that has text or other objects in high contrast color on a low contrast background, for example white text on black background. This activity can check if an image is inverted as well as auto-correct.
This activity can only detect an entire image, to search for and correct specific inverted areas or regions in an image, use InvertedTextActivity.
A common source of inverted images are blacn and white bitmaps saved with non-standard palette by some applications.
This activity does not support signed data images.
For more information, refer to Cleaning Up 1-Bit Images.
System.Object
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
Leadtools.Workflow.Raster.WorkflowImageActivity
Leadtools.Workflow.Raster.DisposableImageActivity
Leadtools.Workflow.ImageProcessing.ImageProcessingBaseActivity
Leadtools.Workflow.ImageProcessing.InvertedPageActivity
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
InvertedPageActivity MembersLeadtools.Workflow.ImageProcessing Namespace
Cleaning Up 1-Bit Images
SmoothActivity Class
BorderRemoveActivity Class
LineRemoveActivity Class
InvertedTextActivity Class
HighQualityRotateActivity Class
DotRemoveActivity Class
HolePunchRemoveActivity Class
HighQualityRotateActivity Class
MinimumActivity Class
MaximumActivity Class