Ask Your Question
0

extraction of intensity maxima minima from hue plane

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

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 http://www.pasteall.org/38741/c

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

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

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

Question Tools

Stats

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

Seen: 285 times

Last updated: Jan 12 '13