halcon中rank_region()算子用于实现区域的秩操作,算子接口如下: rank_region(Region : RegionCount : Width, Height, Number : ) 通俗点说,该算法实现这样的功能,Width和Height定义了一个掩膜窗口,遍历整个图像所有像素区域,统计掩膜窗口内属于区域Region的像素点数目N,如果N大于等于设置的阈值Number,则接受该像素点...
rank_region— Rank operator for regions.Signaturerank_region(Region : RegionCount : Width, Height, Number : ) Descriptionrank_region calculates the binary rank operator. A filter mask of size Height x Width) is used. In the process, for each point in the region the number of points of ...
工业视觉halcon rank_image函数介绍 rank_image(Image, Mask : ImageRank : Rank, Margin : ) rank_image使用掩码Mask对输入图像Image执行秩滤波,并在ImageRank中返回经过滤波的的图像。 掩码的形状可以任意选择,例如,可以使用gen_circle或draw_region之类的操作符创建掩码。 掩模的位置不影响结果,因为掩模区域的重心...
rank_region(Region : RegionCount : Width, Height, Number : ) Descriptionrank_region calculates the binary rank operator. A filter mask of size Height x Width) is used. In the process, for each point in the region the number of points of Region lying within the filter mask are counted. ...
rank_region— Rank operator for regions.Signaturerank_region(Region : RegionCount : Width, Height, Number : ) Descriptionrank_region calculates the binary rank operator. A filter mask of size Height x Width) is used. In the process, for each point in the region the number of points of ...
rank_rectuses an algorithm with constant runtime per pixel, i.e., the runtime only depends on the size of the input image and not on the mask size. Therefore, for large mask sizesrank_rectis the fastest implementation of the rank filter in HALCON. Depending on the computer architecture ...
rank_rectuses an algorithm with constant runtime per pixel, i.e., the runtime only depends on the size of the input image and not on the mask size. Therefore, for large mask sizesrank_rectis the fastest implementation of the rank filter in HALCON. Depending on the computer architecture ...
rank_rectuses an algorithm with constant runtime per pixel, i.e., the runtime only depends on the size of the input image and not on the mask size. Therefore, for large mask sizesrank_rectis the fastest implementation of the rank filter in HALCON. Depending on the computer architecture ...
The shape of the mask can be chosen arbitrarily and can, for example, be created with operators like gen_circle or draw_region. The position of the mask does not influence the result since the center of gravity of the mask region is used as the reference point of the mask. ...
IfModePercentis 0, then the operator equals to the gray value opening (gray_opening). IfModePercentis 50, the operator results in the median filter, which is applied twice (median_image). TheModePercent100 indual_rankmeans that it calculates the gray value closing (gray_closing). Choosing ...