LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DeskewCommandFlags Enumeration
See Also  
Leadtools.ImageProcessing.Core Namespace : DeskewCommandFlags Enumeration



Flags that indicate whether to deskew the image, which background color to use, whether to deskew the image if the skew angle is very small, which type of interpolation to use, whether the image contains mostly text, and whether to use normal or fast rotation.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum DeskewCommandFlags 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As DeskewCommandFlags
C# 
[FlagsAttribute()]
public enum DeskewCommandFlags : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class DeskewCommandFlags : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
DeskewImageDeskew (rotate) the image.
DocumentAndPicturesThe image contains text and pictures or light text.
DocumentImageThe image contains only text.
DoNotFillExposedAreaDetermine the suitable background color for fill areas exposed by rotation automatically. FillColor is ignored in this case.
DoNotPerformPreProcessingDon't perform preprocessing on the image before deskewing it.
DoNotUseCheckDeskewPerform the ordinary deskew. Do not perform any of the bank check algorithms.
FillExposedAreaUse the fill color (in the FillColor property, or the fillCOlor parameter of the Constructor) to fill areas exposed by rotation.
NoThresholdDeskew (rotate) the image for any deskew angle value.
PerformPreProcessingPerform preprocessing on the image before deskewing it.
ReturnAngleOnlyDon't deskew (rotate) the image. Generally this flag is used to find the angle of rotation.
RotateBicubicPerform bicubic interpolation when rotating.
RotateLinearDon't perform any interpolation methods when rotating.
RotateResamplePerform bilinear interpolation when rotating.
ThresholdDo not deskew the image if the deskew angle is very small (less than 0.5 degrees).
UseCheckDeskewUse the bank check algorithm to deskew the image. This algorithm considers many features common to standard bank checks in order to determine orientation.
UseExtendedDeskewUse an alternative algorithm to deskew the image, this algorithm is equivalent to the obsolete command DeskewCommandExtended. This flag when set, the properties DeskewCommand.AngleRange and DeskewCommand.AngleResolution are used.
UseHighSpeedRotateUse fast rotation speed (moderate quality, only for 1-bit images).
UseLineDetectionCheckDeskewUse the bank check line detection algorithm to deskew the image.
UseNormalDetectionDon't use the selective detection technique which is more accurate.
UseNormalRotateUse normal rotation speed (high quality).
UseSelectiveDetectionUse the selective detection technique which is faster.

Remarks

You can use a bitwise OR (|) to specify one flag from each of the following groups:
Group Flags
Flags that indicate whether to deskew the image after the method finds the skew angle. DeskewImage, ReturnAngleOnly
Flags that indicate which background color to use. FillExposedArea, DoNotFillExposedArea
Flags that indicate whether to deskew the image if the skew angle is very small. NoThreshold, Threshold
Flags that specify which type of interpolation to use. RotateLinear, RotateResample, RotateBicubic
Flags that indicate whether the image contains mostly text, or text and pictures. DocumentImage, DocumentAndPictures
Flags that indicate whether to use normal or fast rotation speed. Normal results in high quality. Fast results in moderate quality and is only intended for 1-bit images. NormalSpeedRotate, HighSpeedRotate

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.ImageProcessing.Core.DeskewCommandFlags

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also