其他分享
首页 > 其他分享> > equ_histo_image算子

equ_histo_image算子

作者:互联网

*读取一张彩色图片
read_image (test, 'D:/cjtImage/colorbalance.png')
*通道分离R,G,B
decompose3(test, image1, image2, image3)
*三个通道分别执行直方图归一化
equ_histo_image (image1, ImageEquHisto1)
equ_histo_image (image2, ImageEquHisto2)
equ_histo_image (image3, ImageEquHisto3)
*合并三张单通道图片成一张彩色图片
compose3 (ImageEquHisto1, ImageEquHisto2, ImageEquHisto3, MultiChannelImage)
dev_display(MultiChannelImage)    

===============================================

equ_histo_image对单通道图像进行直方图归一化

原图


直方图归一化后的效果图

标签:image,equ,直方图,histo,归一化,单通道
来源: https://www.cnblogs.com/gspuser/p/13471597.html