在HDevelop中 dev_update_off() read_image (Image, 'D:/bb/tu/1.jpg') rgb1_to_gray(Image,Image1) *将RGB图像转换为灰度图像 gray_dilation_shape (Image1, ImageM
gray_dilation_shape (Operator) Namegray_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 ...
ReadImage(&ho_Image, "D:/bb/tu/1.jpg"); Rgb1ToGray(ho_Image, &ho_Image1); //将RGB图像转换为灰度图像 GrayDilationShape(ho_Image1, &ho_ImageMax, 5, 5, "octagon"); //图像膨胀-->效果:增加亮部,减少暗 //参数1:灰度值图像 //参数2:输出图像 //参数3和参数4:结构元的宽和高部 /...
gray_dilation_shape (Operator) Namegray_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 ...
gray_dilation_shape (Operator) Namegray_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 ...
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...