当前位置:网站首页>[Halcon vision] image gray change
[Halcon vision] image gray change
2022-07-26 10:23:00 【Wenbus】
The purpose of image grayscale transformation , To improve the contrast of the image , The higher the contrast , The higher the definition .
1. Gray linear transformation
add_image() Image addition
invert_image() Image reversal
2. Gray scale nonlinear transformation
log_image() Logarithmic function
exp_image() Exponential function
3. Gray histogram transformation
Image equalization .
dev_close_window ()
dev_open_window (0, 0, 512, 512, 'black', WindowHandle)
* Read the original picture
read_image (Image, 'C:/Users/Allegro/Desktop/ picture / scenery 3.jpg')
* Image reversal
invert_image (Image, ImageInvert)
边栏推荐
猜你喜欢
数通基础-网络基础知识
Uniapp "no mobile phone or simulator detected, please try again later" and uniapp custom components and communication
Like, "new programmer" e-book is free for a limited time!
Cause: couldn‘t make a guess for 解决方法
【Halcon视觉】形态学腐蚀
我们的Web3创业项目,黄了
议程速递 | 7月27日分论坛议程一览
Learning about opencv (3)
Error in render: "typeerror: cannot read properties of undefined (reading 'length')" --- error when calling interface
Transform between tree and array in JS (hide the children field if the child node of the tree is empty)
随机推荐
如何写一篇百万阅读量的文章
Learning about opencv (3)
SPARK中 DS V2 push down(下推)的一些说明
Learning about tensor (III)
Flask framework beginner-03-template
Cause: couldn‘t make a guess for 解决方法
Closure of go (cumulative sum)
数据库的复习--1.概述
Data communication foundation STP principle
Okaleido ecological core equity Oka, all in fusion mining mode
Vectortilelayer replacement style
Error in render: "typeerror: cannot read properties of undefined (reading 'length')" --- error when calling interface
Uniapp common error [wxml file compilation error]./pages/home/home Wxml and using MySQL front provided by phpstudy to establish an independent MySQL database and a detailed tutorial for independent da
Wechat official account release reminder (wechat official account template message interface)
函数模板与同名的非模板函数不可以重载(重载的定义)
软件打不开了
Dynamically determine file types through links
Tower of Hanoi II | tower of Hanoi 4 columns
Application of crosstab in SQL Server
Learning about opencv (4)