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


本文出自勇哥的网站《少有人走的路》wwww.skcircle.com,转载请注明出处!讨论可扫码加群:

发表评论:

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

会员中心
搜索
«    2024年4月    »
1234567
891011121314
15161718192021
22232425262728
2930
网站分类
标签列表
最新留言
    热门文章 | 热评文章 | 随机文章
文章归档
友情链接
  • 订阅本站的 RSS 2.0 新闻聚合
  • 扫描加本站机器视觉QQ群,验证答案为:halcon勇哥的机器视觉
  • 点击查阅微信群二维码
  • 扫描加勇哥的非标自动化群,验证答案:C#/C++/VB勇哥的非标自动化群
  • 扫描加站长微信:站长微信:abc496103864
  • 扫描加站长QQ:
  • 扫描赞赏本站:
  • 留言板:

Powered By Z-BlogPHP 1.7.2

Copyright Your skcircle.com Rights Reserved.

鄂ICP备18008319号


站长QQ:496103864 微信:abc496103864