Documentation
 All Classes Functions Variables Properties
PageInfo Class Reference

#include <ImageProcess.h>

Public Member Functions

 PageInfo (int _width, int _height)
 Constructor for ImageProcess specifies the scaling width and height on the source image.
 
 PageInfo (float _scale)
 Constructor for ImageProcess specifies the scale by which the size of the new image is to be set.
 

Public Attributes

int Height
 Scaled height of the result image.
 
int Width
 Scaled width of the result image.
 
int Scale
 Resize factor for the result image will be preffered over seprate height and width provided.
 
int rotationAngle
 The angle in degrees by which the source image will be rotated to produce the result.
 
int QuailtyFactor
 The quality factor to be implemented on the source image. It can be assigned one of the pre-defined values.
 
bool Deskew
 Bool value to specify whether to implement Deskew operation or not. More...
 
bool AutoCrop
 

Static Public Attributes

static int NO_ENHANCEMEMNT = 1
 Enum value to be assigned to QuailtyFactor to implement no quality filter on source image.
 
static int BI_LINEAR = 2
 Enum value to be assigned to QuailtyFactor to implement BI_LINEAR(Interpolation) filter on source image.
 
static int BI_CUBIC = 3
 Enum value to be assigned to QuailtyFactor to implement BI_CUBIC(Interpolation) filter on source image.
 

Detailed Description

PageInfo class provides members for specifing the operations to be implemented in ProcessImage function of ImageProcess class.

Member Data Documentation

PageInfo::Deskew

Bool value to specify whether to implement Deskew operation or not.

Bool value to specify whether to implement AutoCrop operation or not.


The documentation for this class was generated from the following file: