Ask Your Question

extraction of intensity maxima minima from hue plane

asked 2013-01-12 08:08:51 -0500

vanangamudi gravatar image

i hav extracted the hue information from a rgb image and stored it into a separate image file. now I need to find min and max values present in this image. how do i do that. here is my code do that. what is wrong with it. it throws seg fault. the image I supply to this code is the hue image extracted from the rgb image

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-01-12 09:25:33 -0500

You have to use cvGet2d instead of cvGetReal2d in your source code. In addition,you can use the cvMinMaxLoc function instead of manual calculation.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-01-12 08:08:51 -0500

Seen: 141 times

Last updated: Jan 12 '13