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

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)







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

  • 0
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值