在HDevelop中 dev_update_off() read_image (Image, 'D:/bb/tu/1.jpg') rgb1_to_gray(Image,Image1) *将RGB图像转换为灰度图像 gray_dilation_shape (Image1, ImageM
halcon-gray_dilation_shape图像膨胀 在HDevelop中 dev_update_off() read_image (Image, 'D:/bb/tu/1.jpg') rgb1_to_gray(Image,Image1) *将RGB图像转换为灰度图像 gray_dilation_shape (Image1, ImageMax, 5, 5, 'octagon') *图像膨胀-->效果:增加亮部,减少暗 *参数1:灰度值图像 *参数2:输出图...
gray_dilation_shape— Determine the maximum gray value within a selected mask.Signaturegray_dilation_shape(Image : ImageMax : MaskHeight, MaskWidth, MaskShape : )Descriptiongray_dilation_shape calculates the maximum gray value of the input image Image within a mask of shape MaskShape, vertical ...
gray_dilation_shape— Determine the maximum gray value within a selected mask.Signaturegray_dilation_shape(Image : ImageMax : MaskHeight, MaskWidth, MaskShape : )Descriptiongray_dilation_shape calculates the maximum gray value of the input image Image within a mask of shape MaskShape, vertical ...
gray_dilation_shape— Determine the maximum gray value within a selected mask.Signaturegray_dilation_shape(Image : ImageMax : MaskHeight, MaskWidth, MaskShape : )Descriptiongray_dilation_shape calculates the maximum gray value of the input image Image within a mask of shape MaskShape, vertical ...
Note thatgray_dilation_shaperequires considerably more time for mask sizes of type float than for mask sizes of type integer. This is especially true for rectangular masks with different width and height! gray_dilation_shapecan be executed on OpenCL devices. In case of mask sizes of type float...