Halcon 算子set_grayval,用于在图像中设置单个像素值

函数原型:

set_grayval(Image::Row,Column:Grayval:)

 

功能:

设置图像的灰度值

 

参数列表:

第1个参数(in):输入图像

第2个参数(in):被访问像素的行坐标,Row >= 0 && Row < height

第3个参数(in):被访问像素的列坐标,Col >= 0 && Col < width

第4个参数(in):像素值

 

可能前置:

read_image,get_image_pointer1,gen_image_proto,gen_image1

 

可替代项:

get_image_pointer1,paint_gray,paint_region

原文地址:https://www.cnblogs.com/ybqjymy/p/14440906.html