CorrectGeometricalDistortions Method of the FRPage Object
This method straightens out distorted lines on an image. Distorted lines may occur close to the binding when scanning/photographing thick books.
We recommend calling this method after the page orientation has been corrected and a double-page spread has been split into two separate pages, if necessary. This method should be called before layout analysis (for example, the call to the IFRPage::Analyze method).
This method may report events to the listeners attached to the IConnectionPointContainer interface of FRPage.
Syntax
C++
HRESULT CorrectGeometricalDistortions( IObjectsExtractionParams* ExtractionParams );
C#
void CorrectGeometricalDistortions( IObjectsExtractionParams ExtractionParams );
Visual Basic .NET
Sub CorrectGeometricalDistortions([ExtractionParams As IObjectsExtractionParams = Nothing])
Parameters
- ExtractionParams
- [in] This variable refers to the ObjectsExtractionParams object corresponding to the parameters used for straightening out distorted lines on an image. This parameter may be 0, in which case the default parameters are used, or, if a profile has been loaded, the parameters set by this profile are used.
Return values
If straightening is interrupted by the user, this method will return E_ABORT. It also returns the standard return codes of ABBYY FineReader Engine functions.
See also
9/17/2024 3:14:41 PM