Ask Your Question
0

Histogram Equalization of color image Open CV SDK for java!

asked 2014-02-27 23:29:05 -0600

nsm gravatar image

updated 2014-02-28 00:32:45 -0600

berak gravatar image

Dear Folks, I am working on an image processing app in android and I am trying to achieve Histogram equalization for color image. I could able to get it done for grey scale image since it has only one channel . Now I need to do it for color image where number of channel is more! Some one please guide me how do I proceed and I want to do in '.java' file using opencv sdk api, Imgproc.equalizeHist(src, dst) since few of the method in native is not working for me ! Thats why I am shifting to java !

Thanks in advance NSM

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-06-29 17:48:12 -0600

arqam gravatar image

I think the step should be to get the image into a format which has channels not separated by colors. So first the image should be converted from BGR to HSV and then since histogram equalization is applied to a single channel, so it should be applied to each channel separately. And then all the channels can be merged.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-02-27 23:29:05 -0600

Seen: 1,347 times

Last updated: Jun 29 '17