|
iDRS™ SDK 16
|
Interface for CPageAnalysisParams wrapper. More...
Go to the source code of this file.
Functions | |
| CPageAnalysisParams | CPageAnalysisParams_Create (idrs_exception *pargException) |
| Creates a new instance of this class. | |
| enum SkewDetection | CPageAnalysisParams_GetSkewDetection (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Gets the boolean flag indicating whether skew detection should be executed as part of page analysis. | |
| void | CPageAnalysisParams_SetSkewDetection (CPageAnalysisParams argCPageAnalysisParams, enum SkewDetection const evSkewDetection, idrs_exception *pargException) |
| Sets the boolean flag indicating whether skew detection should be executed as part of page analysis. | |
| enum DimensionAdjust | CPageAnalysisParams_GetDimensionAdjust (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Gets the boolean flag indicating whether image should be cropped after deskew during page analysis. | |
| void | CPageAnalysisParams_SetDimensionAdjust (CPageAnalysisParams argCPageAnalysisParams, enum DimensionAdjust const evDimensionAdjust, idrs_exception *pargException) |
| Sets the boolean flag indicating whether image should be cropped after deskew during page analysis. | |
| IDRS_BOOL | CPageAnalysisParams_GetDetectOrientation (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Gets the boolean flag indicating whether page orientation should be executed as part of page analysis. | |
| void | CPageAnalysisParams_SetDetectOrientation (CPageAnalysisParams argCPageAnalysisParams, IDRS_BOOL const bDetectOrientation, idrs_exception *pargException) |
| Sets the boolean flag indicating whether page orientation should be executed as part of page analysis. | |
| PageOrientationArray | CPageAnalysisParams_GetOrientations (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Gets the array with all possible page orientations that page analysis is allowed to take into consideration. | |
| void | CPageAnalysisParams_SetOrientations (CPageAnalysisParams argCPageAnalysisParams, const PageOrientationArray argxOrientations, idrs_exception *pargException) |
| Sets the array with all possible page orientations that page analysis is allowed to take into consideration. | |
| IDRS_BOOL | CPageAnalysisParams_GetDetectLanguage (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Gets the boolean flag indicating whether language detection should be executed as part of page analysis. | |
| void | CPageAnalysisParams_SetDetectLanguage (CPageAnalysisParams argCPageAnalysisParams, IDRS_BOOL const bDetectLanguage, idrs_exception *pargException) |
| Sets the boolean flag indicating whether language detection should be executed as part of page analysis. | |
| LanguageArray | CPageAnalysisParams_GetAllowedLanguages (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Gets the array with all possible languages that page analysis is allowed to take into consideration. | |
| void | CPageAnalysisParams_SetAllowedLanguages (CPageAnalysisParams argCPageAnalysisParams, const LanguageArray xLanguages, idrs_exception *pargException) |
| Sets the array with all possible languages that page analysis is allowed to take into consideration. | |
| enum ThreadingMode | CPageAnalysisParams_GetThreadingMode (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Returns the threading mode that should be used for page analysis process. | |
| void | CPageAnalysisParams_SetThreadingMode (CPageAnalysisParams argCPageAnalysisParams, const enum ThreadingMode *const evThreadingMode, idrs_exception *pargException) |
| Sets the threading mode to use for page analysis. | |
| PageAnalysisThreadingConfig | CPageAnalysisParams_GetAdvancedThreadingConfig (const CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Gets the threading config used for page analysis. | |
| void | CPageAnalysisParams_SetAdvancedThreadingConfig (CPageAnalysisParams argCPageAnalysisParams, const PageAnalysisThreadingConfig *stThreadingConfig, idrs_exception *pargException) |
| Sets the threading config used for page analysis. | |
| void | CPageAnalysisParams_Destroy (CPageAnalysisParams argCPageAnalysisParams, idrs_exception *pargException) |
| Destroys a CPageAnalysisParams handle. | |
Interface for CPageAnalysisParams wrapper.
| CPageAnalysisParams CPageAnalysisParams_Create | ( | idrs_exception * | pargException | ) |
Creates a new instance of this class.
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_Destroy | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CPageAnalysisParams handle.
| argCPageAnalysisParams | CPageAnalysisParams handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| PageAnalysisThreadingConfig CPageAnalysisParams_GetAdvancedThreadingConfig | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the threading config used for page analysis.
By default, the threading config is set to no multithreading
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| LanguageArray CPageAnalysisParams_GetAllowedLanguages | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the array with all possible languages that page analysis is allowed to take into consideration.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_BOOL CPageAnalysisParams_GetDetectLanguage | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the boolean flag indicating whether language detection should be executed as part of page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_BOOL CPageAnalysisParams_GetDetectOrientation | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the boolean flag indicating whether page orientation should be executed as part of page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum DimensionAdjust CPageAnalysisParams_GetDimensionAdjust | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the boolean flag indicating whether image should be cropped after deskew during page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| PageOrientationArray CPageAnalysisParams_GetOrientations | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the array with all possible page orientations that page analysis is allowed to take into consideration.
Not setting this parameter will allow the page orientation algorithm to take all page orientations into consideration. It is not advisable to restrict the page orientations for the page analysis. This should be done only in specific conditions.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum SkewDetection CPageAnalysisParams_GetSkewDetection | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Gets the boolean flag indicating whether skew detection should be executed as part of page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum ThreadingMode CPageAnalysisParams_GetThreadingMode | ( | const CPageAnalysisParams | argCPageAnalysisParams, |
| idrs_exception * | pargException | ||
| ) |
Returns the threading mode that should be used for page analysis process.
Please see
| argCPageAnalysisParams | CPageAnalysisParams handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetAdvancedThreadingConfig | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| const PageAnalysisThreadingConfig * | stThreadingConfig, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the threading config used for page analysis.
Threading config can be altered directly by integrators, or set to recommended values via property ThreadingMode.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| stThreadingConfig | Threading config to set |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetAllowedLanguages | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| const LanguageArray | xLanguages, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the array with all possible languages that page analysis is allowed to take into consideration.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| xLanguages | Array containing all languages that are allowed during page analysis |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetDetectLanguage | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| IDRS_BOOL const | bDetectLanguage, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the boolean flag indicating whether language detection should be executed as part of page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| bDetectLanguage | Boolean flag enabling/disabling language detection detection |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetDetectOrientation | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| IDRS_BOOL const | bDetectOrientation, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the boolean flag indicating whether page orientation should be executed as part of page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| bDetectOrientation | Boolean flag enabling/disabling page orientation detection |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetDimensionAdjust | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| enum DimensionAdjust const | evDimensionAdjust, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the boolean flag indicating whether image should be cropped after deskew during page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| evDimensionAdjust | Boolean flag enabling/disabling dimension adjust |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetOrientations | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| const PageOrientationArray | argxOrientations, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the array with all possible page orientations that page analysis is allowed to take into consideration.
Not setting this parameter will allow the page orientation algorithm to take all page orientations into consideration. It is not advisable to restrict the page orientations for the page analysis. This should be done only in specific conditions.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| argxOrientations | Array containing all page orientation that are allowed during page analysis |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetSkewDetection | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| enum SkewDetection const | evSkewDetection, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the boolean flag indicating whether skew detection should be executed as part of page analysis.
| argCPageAnalysisParams | CPageAnalysisParams handle |
| evSkewDetection | Boolean flag enabling/disabling skew detection |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageAnalysisParams_SetThreadingMode | ( | CPageAnalysisParams | argCPageAnalysisParams, |
| const enum ThreadingMode *const | evThreadingMode, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the threading mode to use for page analysis.
Please see
| argCPageAnalysisParams | CPageAnalysisParams handle |
| evThreadingMode | The threading mode to be used |
| pargException | Pointer to exception structure that will be filled if an exception occurs |