Emgucv中快捷的显示图像直方图

Emgucv中有非常快捷的显示图像直方图的方法:

Histogramviewer

Histogrambox

我今天只用了第一个,很简单。从别人的博客看这个可以自己改参数,但没成功。

这是我的代码和显示结果

 

Image<Gray, Byte> histogramimage = new Image<Gray, Byte>(imageBox1.Image.Bitmap);

HistogramViewer.Show(histogramimage);
histogramimage.Dispose();

posted @ 2014-01-12 00:40  老笨wjr  阅读(851)  评论(0编辑  收藏  举报