
21-72
BLOBLABEL (Function)
Function
Obtains the label number for designated coordinates.
Format
BLOBLABEL(<Coordinate X>, <Coordinate Y>)
Explanation
<Coordinate X> Designates the X coordinate (0 to 511).
<Coordinate Y> Designates the Y coordinate (0 to 479).
BLOBLABEL checks if the designated coordinates
are included in each labeled object.
If you designate the coordinates. of P1 with
BLOBLABEL for a measured image when the number
of objects to be labeled is 4 and the label number is
as shown in the left figure, the return value becomes
0 for the label number.
If you designate P2, the return value becomes -1
because there is no corresponding object.
Example of label number obtaining
Note (1): Before executing this function, you need to execute labeling
with BLOB beforehand.
Note (2): Obtain the label number present for the designated
coordinates.
Note (3): If there is no label number present, -1 is returned.
Note (4): For this instruction, a µ
µµ
µVision board (option) is required.
Related Terms
BLOB
Label number 2
Label number 0
Label number 1
Label number 3
P1
P2
Komentarze do niniejszej Instrukcji