<< 点击显示目录 >> 主页 mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 视觉功能 > 子像素 Blob |
使用智能传感器 (VSSxxxxxx.xxxx-000) 时,该功能不可用。执行时至少需要一台智能相机 (VSC122xxxxx.xxxx-000)。
blob(二进制大对象)是具有相同灰度值范围的连续像素区域。
子像素是对像素内部结构的计算描述,而不是像素本身,像素本身受图像传感器区域元素的物理限制。因此,在使用子像素时,像素内计算出的边缘梯度会比实际像素的分辨率更高。例如,子像素精确计算圆的面积。
视觉功能 Subpixel Blob 是一种具有亚像素精度的 Blob 分析功能,用于使用几何和颜色参数检测和分割图像中的 Blob,并从中提取特征。
Subpixel Blob 可以根据以下参数(subpixel Blob 分析程序)教导 Blob:
•灰度值阈值(MeanGrayValue)
•图块形状(形态)
•大小阈值(AreaMin/Max)(粗略缩小)
•根据形状和拟合度进行选择
•亚像素精确轮廓
•新面积计算
•减少到预定义的最大数量
•计算几何特征。
根据这些确定的参数,可循环执行亚像素精度的 Blob 分析,这些参数可用于计数 Blob、一般检测位置和颜色,或对 Blob 本身进行简单测量。
有关 Subpixel Blob 使用的寄存器概览,请参阅寄存器概览 一节。
信息
有关 Blob 的使用案例,请参见Blob - Teach-in and subsequent object search。
有关 Subpixel Blob 和 Blob 精度的比较,请参阅Subpixel Blob - 与 Blob 相比的参数精度。
常见问题,请参阅Blob 常见问题。
The function is not available when using a Smart Sensor (VSSxxxxxx.xxxx-000). At least one Smart Camera (VSC122xxx.xxxx-000) is required for execution.
A blob (Binary Large Object) is an area of contiguous pixels with the same defined grayscale value range.
A subpixel is a computational description of the internal structure of a pixel as opposed to the pixel itself, which is physically limited as a figure of the area element from the image sensor. Calculated edge gradients within a pixel thus result in a higher resolution when using subpixels than would be possible with the actual pixels. For example, the subpixel-accurate calculation of the area of a circle.
Vision function Subpixel Blob is a blob analysis function with subpixel accuracy used for detecting and segmenting blobs in an image using geometric and color parameters as well as for extracting features from them.
Subpixel Blob makes it possible to teach-in blobs based on the following parameters (procedure for a subpixel blob analysis):
•Thresholds for grayscale values (MeanGrayValue)
•Blob shape (morphology)
•Thresholds for size (AreaMin/Max) (rough reduction)
•Selection according to shape and fitting
•Subpixel-accurate contour
•New area calculation
•Reduction to predefined maximum number
•Calculate the geometric features.
A blob analysis with subpixel accuracy can be carried out in cyclic operation based on these determined parameters that can be used to count blobs, generally detect positions and colors or simply perform measurements of the blobs themselves.
For an overview of the registers used by Subpixel Blob, see section Overview of registers .
Information:
For use cases about using Blob, see Blob - Teach-in and subsequent object search.
For a comparison of Subpixel Blob and Blob accuracy, see Subpixel Blob - Accuracy of parameters in contrast to Blob.
For FAQ, see Blob FAQ.
•Subpixel Blob parameters (cyclic write)