SearchRegMarks method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short SearchRegMarks (ILEADRaster *pRaster);

Overview

Refer to Detecting Registration Marks

Remarks

(Document/Medical only) Searches the specified object for registration marks.

The search parameters should be set in the following properties before calling this method:

Bottom property

Height property

Left property

Mark property

MarksCount property

MaxScale property

MinScale property

NumberOfExpectedMarks property

Right property

Top property

Type property

Width property

This method updates the following properties with information about any detected registration marks:

DetectedMarkCount property

DetectedMarkPointX property

You can call GetTransformationParameters to get the transformation parameters, which can be applied to this bitmap to make it match the reference image.

If you simply want to automatically straighten a bitmap, use the Deskew.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

Height property, Type property, Width property, MinScale property, MaxScale property, Top property, Left property, Right property, NumberOfExpectedMarks property, Bottom property, DetectedMarkCount property, DetectedMarkPointX property, DetectedMarkPointY property, Mark property, MarksCount property

Topics:

Raster Images: Document Imaging