少有人走的路

勇哥的工业自动化技术网站

Halcon学习(9)两幅图像之间处理

1.sub_image(ImageMinuend, ImageSubtrahend : ImageSub : Mult, Add : )

对两幅图像做减法   g' := (g1 - g2) * Mult + Add

程序如下:

 

read_image (Scene00, 'autobahn/scene_00')

read_image (Scene01, 'autobahn/scene_01')

sub_image (Scene00, Scene01, ImageSub1, 1, 0)

dev_display(ImageSub1)

image.png

image.png

image.png

2.abs_image(Image : ImageAbs : : )

 

计算图像的绝对值模型

3.crop_part(Image : ImagePart : Row, Column, Width, Height : )

 

剪切出一个长方形的图像

4.add_image(Image1, Image2 : ImageResult : Mult, Add : )

 

两图像相叠加 g' := (g1 + g2) * Mult + Add

5.max_image(Image1, Image2 : ImageMax : : )

 

计算两幅图像每个像素点的最大值

6.min_image(Image1, Image2 : ImageMin : : )

 

计算两幅图像每个像素点的最小值

7.div_image(Image1, Image2 : ImageResult : Mult, Add : )

 

两幅图像相除   g' := g1 / g2 * Mult + Add

8.mult_image(Image1, Image2 : ImageResult : Mult, Add : )

 

两幅图像相乘   g' := g1 * g2 * Mult + Add


发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2025年12月    »
1234567
891011121314
15161718192021
22232425262728
293031
控制面板
您好,欢迎到访网站!
  查看权限
网站分类
搜索
最新留言
文章归档
网站收藏
友情链接

Powered By Z-BlogPHP 1.7.3

Copyright www.skcircle.com Rights Reserved.

鄂ICP备18008319号


站长QQ:496103864 微信:abc496103864