摘要: 在HDevelop中 read_image (Image, 'D:/bb/tu/ma.jpg') rgb1_to_gray(Image,Image1) *将RGB图像转换为灰度图像 *将会使用如下公式进行转化:gray = 0.299 * red + 0.587 * green + 0.114 * 阅读全文
posted @ 2022-02-10 16:46 天子骄龙 阅读(1283) 评论(0) 推荐(0)
摘要: 在HDevelop中 read_image (Image, 'D:/bb/tu/RGB.png') decompose3(Image,R,G,B) *将三通道图像转换为三个图像 *参数1:原图像-3通道图像 在QtCreator中 HObject ho_Image, ho_R, ho_G, ho_B 阅读全文
posted @ 2022-02-10 13:29 天子骄龙 阅读(938) 评论(0) 推荐(0)
摘要: 在HDevelop中 read_image(Image1,'D:/bb/tu/ma.jpg') get_image_size (Image1, Width, Height) zoom_image_size(Image1,ZooImage, 200, 100, 'bilinear') *功能:将图像缩 阅读全文
posted @ 2022-02-10 09:54 天子骄龙 阅读(4887) 评论(0) 推荐(0)
摘要: 在HDevelop中 read_image(Image,'D:/bb/tu/ma.jpg') get_image_size (Image, Width, Height) zoom_image_factor(Image,ZooImage, 0.5, 0.5, 'bilinear') *功能:按给定因子 阅读全文
posted @ 2022-02-10 09:29 天子骄龙 阅读(2511) 评论(0) 推荐(1)