LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)

DeskewCommandFlags Enumeration

Show in webframe







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.

Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum DeskewCommandFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As DeskewCommandFlags
[FlagsAttribute()]
public enum DeskewCommandFlags : System.IComparableSystem.IConvertibleSystem.IFormattable  
enum LTDeskewCommandFlags
public enum DeskewCommandFlags
Leadtools.ImageProcessing.Core.DeskewCommandFlags = function() { };
Leadtools.ImageProcessing.Core.DeskewCommandFlags.prototype = {
NoThreshold = 0x00000000, DoNotUseCheckDeskew = 0x00000000, UseSelectiveDetection = 0x00000000, UseNormalRotate = 0x00000000, RotateLinear = 0x00000000, DocumentImage = 0x00000000, DeskewImage = 0x00000000, ReturnAngleOnly = 0x00000001, DoNotFillExposedArea = 0x00000010, FillExposedArea = 0x00000010, Threshold = 0x00000100, RotateResample = 0x00001000, RotateBicubic = 0x00002000, DocumentAndPictures = 0x00010000, UseHighSpeedRotate = 0x00100000, UseCheckDeskew = 0x01000000, UseLineDetectionCheckDeskew = 0x02000000, UseExtendedDeskew = 0x04000000, DoNotPerformPreProcessing = 0x10000000, PerformPreProcessing = 0x10000000, UseNormalDetection = 0x20000000, };
[FlagsAttribute()]
public enum class DeskewCommandFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000NoThresholdDeskew (rotate) the image for any deskew angle value.
0x00000000DoNotUseCheckDeskewPerform the ordinary deskew. Do not perform any of the bank check algorithms.
0x00000000UseSelectiveDetectionUse the selective detection technique which is faster.
0x00000000UseNormalRotateUse normal rotation speed (high quality).
0x00000000RotateLinearDon't perform any interpolation methods when rotating.
0x00000000DocumentImageThe image contains only text.
0x00000000DeskewImageDeskew (rotate) the image.
0x00000001ReturnAngleOnlyDon't deskew (rotate) the image. Generally this flag is used to find the angle of rotation.
0x00000010DoNotFillExposedAreaDetermine the suitable background color for fill areas exposed by rotation automatically. FillColor is ignored in this case.
0x00000010FillExposedAreaUse the fill color (in the FillColor property, or the fillCOlor parameter of the Constructor) to fill areas exposed by rotation.
0x00000100ThresholdDo not deskew the image if the deskew angle is very small (less than 0.5 degrees).
0x00001000RotateResamplePerform bilinear interpolation when rotating.
0x00002000RotateBicubicPerform bicubic interpolation when rotating.
0x00010000DocumentAndPicturesThe image contains text and pictures or light text.
0x00100000UseHighSpeedRotateUse fast rotation speed (moderate quality, only for 1-bit images).
0x01000000UseCheckDeskewUse the bank check algorithm to deskew the image. This algorithm considers many features common to standard bank checks in order to determine orientation.
0x02000000UseLineDetectionCheckDeskewUse the bank check line detection algorithm to deskew the image.
0x04000000UseExtendedDeskewUse 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.
0x10000000DoNotPerformPreProcessingDon't perform preprocessing on the image before deskewing it.
0x10000000PerformPreProcessingPerform preprocessing on the image before deskewing it.
0x20000000UseNormalDetectionDon't use the selective detection technique which is more accurate.
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

See Also

Reference

Leadtools.ImageProcessing.Core Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.