Visual Basic (Declaration) | |
---|---|
Public Class DeskewCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class DeskewCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class DeskewCommand : public RasterCommand, IRasterCommand |
Runs the DeskewCommand on an image and straightens it.
Visual Basic | Copy Code |
---|---|
Public Sub DeskewCommandExample() |
C# | Copy Code |
---|---|
public void DeskewCommandExample() |
This command is typically used to automatically straighten scanned images, including bank checks. This command is available in the Document\Medical Toolkits.
- If the Flags property or the flags parameter of the Constructor contains DeskewCommandFlags.ReturnAngleOnly, the command will update the Angle property without rotating the image.
The calculated rotation is limited to 20 degrees in either direction. This command is intended for images, such as scanned documents, that are mainly horizontal lines of text. The results are less predictable with other types of images. This command includes an option to skip deskewing if the angle is very small. This command does not support 12 and 16-bit grayscale and 48 and 64-bit color images. If the image is 12 and 16-bit grayscale and 48 and 64-bit color, the command will not throw an exception. This command does not support signed data images. This command does not support 32-bit grayscale images. - This command has been expanded with several flags that can be used to work on bank check images. Different algorithms can be used. For more information, refer to the Remarks section of the DeskewCheckCommand class.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Core.DeskewCommand
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
DeskewCommand MembersLeadtools.ImageProcessing.Core Namespace
DeskewExtendedCommand Class
Introduction to Image Processing With LEADTOOLS
DespeckleCommand Class
WindowLevelCommand Class
ApplyTransformationParametersCommand Class
GetRegistrationMarksCenterMass Method
GetTransformationParameters Method
IsRegistrationMark Method
SearchRegistrationMarksCommand Class