Imagesubsampling – Adept AdeptSight Reference Guide User Manual
Page 255
ImageSubsampling
VPARAMETER
5324
Factor used to subsample the grey-scale image in the tool's region of interest. With a subsampling factor of
1, the grey-scale image is not subsampled. With a subsampling factor of 2, the grey-scale image is
subsampled in tiles of 2x2 pixels. With a subsampling factor of 3 the grey-scale image is subsampled in tiles
of 3x3 pixels and so forth.
Syntax
Micro V+
VPARAMETER (sequence_id, tool_id, 5324, index_id, object_id) = value
value = VPARAMETER (sequence_id, tool_id, 5324, index_id, object_id)
V+
VPARAMETER (sequence_id, tool_id, 5324, index_id, object_id) $ip = value
value = VPARAMETER ($ip, sequence_id, tool_id, 5324, index_id, object_id)
Remarks
Color Matching Tool
Increasing the subsampling level reduces the number of pixels and the quantity information analyzed
by the tool. Increasing the Image Subsampling may reduce the execution time but affects the accuracy
of color matching results.
Image Histogram
Using a higher subsampling factor speeds up the generation of the histogram but slightly reduces the
accuracy of the statistics computed from the histogram. The pixel properties computed by the Image
Histogram tool are normalized with respect to the subsampling factor (HistogramPixelCount,
ImageHeight, ImagePixelCount and ImageWidth). So for instance, the total number of pixels in the
histogram should remain the same at any subsampling factor. Note that there might be slight
differences in the values of these properties when either of the width or the height of the region of
interest is not a multiple of the subsampling factor used.
Type
Long
Range
1 (no subsampling),2, 3, 4, 5, 6, 7, 8
ImageSubsampling
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 255