Colorfiltermatchpixelcount – Adept AdeptSight Reference Guide User Manual

Page 128

Advertising
background image

ColorFilterMatchPixelCount

VRESULT

2502

Number of pixels that match the conditions set by the filter. This result is output for each filter, starting at

Filter 0

Syntax

Micro V+

VRESULT (sequence_id, tool_id, instance_id, 2502, filter_id, frame_id)

V+

VRESULT ($ip, sequence_id, tool_id, instance_id, 2502, filter_id, frame_id)

Type

Long

Range

Minimum: 0

Maximum: ImagePixelCount

Parameters

$ip

IP address of the vision server. Applies to V+ syntax only. Uses standard IP

address format, for example: 192.168.1.120.

sequence_id

Index of the vision sequence. The first sequence is 1.

tool_id

Index of the tool in the vision sequence. The first tool is 1.

instance_id

Index of the blob for which you want the result.

ID

2502: the value used to reference this property.

filter_id

Index of the filter for which you want the result. First Filter is 0.

frame_id

Frame for which you want the results.

ColorFilterMatchPixelCount

AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012

Page 128

Advertising