gray_histo(Regions, Image : : : AbsoluteHisto, RelativeHisto) 计算图像Image内区域Regions的绝对相对灰度直方图AbsoluteHisto, RelativeHisto, 这两个直方图都是256个值的元组,从0开始包含图像的各个灰度值的出现频率。 AbsoluteHisto表示整数灰度值的绝对频率, RelativeHisto表示相对频率,如绝对频率除以图像面积作为浮点...
gray_histo (Domain, Image1, AbsoluteHisto, RelativeHisto) *计算直方图:指定区域 *为区域内的图像计算灰度值的绝对和相对直方图 *参数1:要计算直方图的区域 *参数2:要计算其灰度值分布的图像 *参数3:是指图像内0-255灰度值出现的次数-->直方图 *参数4:将上面的出现次数转化为频率,总合为1 histo_to_thresh...
gray_histo (Domain, Image1, AbsoluteHisto, RelativeHisto)*计算直方图:指定区域*为区域内的图像计算灰度值的绝对和相对直方图*参数1:要计算直方图的区域*参数2:要计算其灰度值分布的图像*参数3:是指图像内0-255灰度值出现的次数-->直方图*参数4:将上面的出现次数转化为频率,总合为1 histo_to_thresh (Absolute...
gray_histo_range(Domain,Image1,0,255,256, Histo, BinSize)*计算直方图:指定区域和灰度值*参数1:要计算直方图的区域*参数2:输入图像*参数3:要计算的最小灰度值。默认值0*参数4:要计算的最大灰度值。默认值255*参数5:要计算的灰度值数量-->参数3到参数4分成多少份*参数6:返回的直方图*参数7:返回每份的...
gray_histocan be executed on OpenCL devices for byte, int1, directional and cyclic images if the OpenCL device supports the cl_khr_local_int32_base_atomics and cl_khr_global_int32_base_atomics extensions (which are optional in OpenCL 1.0). Unlike most other HALCON operators,gray_histocan...
gray_histocan be executed on OpenCL devices for byte, int1, directional and cyclic images if the OpenCL device supports the cl_khr_local_int32_base_atomics and cl_khr_global_int32_base_atomics extensions (which are optional in OpenCL 1.0). Unlike most other HALCON operators,gray_histocan...
The operator min_max_gray creates the histogram of the absolute frequencies of the gray values within Regions in the input image Image (see gray_histo) and calculates the number of pixels Percent corresponding to the area of the input image. Then it goes inwards on both sides of the histogra...
如有必要,会引发异常。 Alternatives select_gray See also entropy_image, gray_histo, gray_histo_abs, fuzzy_entropy, fuzzy_perimeter 模块 Foundation HDevelop例程 entropy_gray.hdev 计算图像的熵和各向异性 classify_wood.hdev 根据其表面纹理对不同种类的木材进行分类...
gray_histo_range(Domain,Image1,0,255,256, Histo, BinSize) *计算直方图:指定区域和灰度值 *参数1:要计算直方图的区域 *参数2:输入图像 *参数3:要计算的最小灰度值。默认值0 *参数4:要计算的最大灰度值。默认值255 *参数5:要计算的灰度值数量-->参数3到参数4分成多少份 ...
gray_histo_range (Operator) Namegray_histo_range— Calculate the gray value distribution of a single channel image within a certain gray value range.Signaturegray_histo_range(Region, Image : : Min, Max, NumBins : Histo, BinSize) Descriptiongray_histo_range calculates the gray value distribution...