gen_region_runs— Create a region from a runlength coding. Signature Description The operatorgen_region_runscreates a region described by the input runlength structure. The runlength representation is created by examining a region line by line with ascending line number (= from “top” to “bot...
gen_region_runs— Create a region from a runlength coding. Signature Description The operatorgen_region_runscreates a region described by the input runlength structure. The runlength representation is created by examining a region line by line with ascending line number (= from “top” to “bot...
HALCON可以通过算子获得指定区域的灰度直方图,并将获得的直方图转换为区域,通常用到gray_histo和gen_region_histo算子 gray_histo(Regions, Image : : : AbsoluteHisto, RelativeHisto) 作用:获得图像指定区域的灰度直方图 gen_region_histo( : Region : Histogram, Row, Column, Scale : ) ...
gen_region_polygon( : Region : Rows, Columns : ) 作用:将一系列行和列坐标描述的多边形转换为区域 Rows, Columns:区域轮廓基点的行列坐标 gen_region_runs( : Region : Row, ColumnBegin, ColumnEnd : ) 作用:根据同行坐标值生成同行行程 Region:生成的同行行程区域 Row:生成的区域所在的行,该参数也可以是...
答:Halcon里对象之间的相互转换,一般可以转化为gen_目标对象_源对象 形式 。如:gen_region_contour_xld 使用xld创建一个region ;gen_contour_region_xld 从区域region创建一个轮廓xld 。直方图histo;直线是line,点集是points,行程编码runs,黑森线hline,多边形polygon 。按照上面格式进行查找 。
get_region_runs(Region : : : Row , ColumnBegin , ColumnEnd)get_region_runs计算区域游程,以 弦元组的形式返回区域数据。弦表示逐行逐行地检查带升序行号(=从“顶” ...
根据如下代码,将上面的Region转换为XLD,并获取该XLD上所有像素的坐标值,根据结果可以看出,XLD上像素坐标值是按照顺时针的顺序依次存储的。 gen_contour_region_xld (ROI_0, Contours, 'border') get_contour_xld (Contours, Row, Col) 3、Polygon像素坐标值的存储方式 ...
HOperatorSet.GetRegionRuns(region, out row, out col1, out col2); //region有4个点的行长码: 1行1列到2列 2行1列到2列 //修改行长码 row = new int[] { 5, 6 }; HObject region1; HOperatorSet.GenRegionRuns(out region1, row, col1, col2); ...
gen_image_proto (ImageRGB, ImageCleared, 125) 1. 2. 10、创建1阶曲面 gen_image_surface_first_order (ImageSurface, 'byte', 1, 1, 1, 256, 256, Width2, Height2) 1. 11、通过ROI获取模块区域图像 gen_region_runs (ROI_0, [177,178,179...])//通过创建新ROI获取 reduce...
halcon 区域Region(HObject)的传输 简介:halcon 区域Region(HObject)的传输 GetRegionRuns 获取:游程编码,行号、起始列、行列。 private void butTemp_Click(object sender, EventArgs e){HObject region;HOperatorSet.GenRectangle1(out region, 1, 1, 2, 2);HTuple tRows, tCols;HOperatorSet.GetRegionPoints...