I am using impixel as below, after selecting pixels, it returns column and row values respectively in "c" and "r".
[c,r,P] = impixel(im)
Now than after I am converting it in hsv format
Now trying to fetch hue, saturation and value from imh of desired pixels as below, it is not give exact answers.
Can any one help in this.