SEARCHMARKS

typedef struct tagSEARCHMARKS
{
   L_UINT uStructSize;
   L_UINT uType;
   L_UINT uWidth;
   L_UINT uHeight;
   L_UINT uMinScale;
   L_UINT uMaxScale;
   RECT rcRect;
   L_UINT uSearchMarkCount;
   POINT *pMarkDetectedPoints;
   L_UINT uMarkDetectedCount;
} SEARCHMARKS, *pSEARCHMARKS;

The SEARCHMARKS structure provides registration marks search information to the L_SearchRegMarksBitmap function. The L_SearchRegMarksBitmap function also stores information in this structure about the registration marks that it finds.

Member

Description

uStructSize

Size of this structure.

uType

Registration mark type. Possible values are:

 

Value

Meaning

 

RGS_T

[0x0000] T-shape registration mark.

 

Currently, only one registration mark is defined (T-shape).

uWidth

Registration mark width, in pixels.

uHeight

Registration mark height, in pixels.

uMinScale

Minimum registration mark scale to be detected. This is a percentage. It must not exceed uMaxScale.

uMaxScale

Maximum registration mark scale to be detected. This is a percentage. It must not be lower than uMinScale.

rcRect

The area to be searched for registration marks (in pixels).

uSearchMarkCount

Number of registration marks expected inside the search area.

pMarkDetectedPoints

Pointer to an array which will be filled with the location points of the detected registration marks. L_SearchRegMarksBitmap will fill the first uMarkDetectedCount elements in this array.

uMarkDetectedCount

Number of detected registration marks inside the search area. This variable will be updated by L_SearchRegMarksBitmap function. This tells how many elements of the pMarkDetectedPoints array will be filled.