LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DeskewActivity Class
See Also  Members  
Leadtools.Workflow.ImageProcessing Namespace : DeskewActivity Class



The DeskewActivity Class is available in LEADTOOLS Document and Medical Imaging toolkits.

Rotates the specified image to straighten it. This activity is typically used to automatically straighten scanned images. This activity is available in the Document\Medical Toolkits.

Object Model

DeskewActivity Class

Syntax

Visual Basic (Declaration) 
Public Class DeskewActivity 
   Inherits ImageProcessingBaseActivity
   Implements IComponentIDisposable 
Visual Basic (Usage)Copy Code
Dim instance As DeskewActivity
C# 
public class DeskewActivity : ImageProcessingBaseActivity, IComponentIDisposable  
C++/CLI 
public ref class DeskewActivity : public ImageProcessingBaseActivity, IComponentIDisposable  

Remarks

  • If the DeskewOptions property contains DeskewCommandDeskewOptions.ReturnAngleOnly, the activity will update the Angle property without rotating the image.
  • The calculated rotation is limited to 20 degrees in either direction. This activity 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 activity includes an option to skip deskewing if the angle is very small.
  • This activity 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 activity will not throw an exception.
  • This activity does not support signed data images.
  • This activity does not support 32-bit grayscale images.

Inheritance Hierarchy

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.DeskewActivity

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features