fudadmin Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
Ultimate Contributor Administrator
mjkoskin wrote on Sun, 07 May 2006 14:14
thanks,
1. Though the sliders are both horizontal
2. The image read by opencv consists of array of chars, B G R B G R ... and aligned with 4 byte boundaries. It's bit tricky to get the value: img->imageData[x+y*img->widthStep] returns the pixel (one color) at (x,y). So a routine to set a pixel in Image is needed.
thanks
-matti
1. which u++ version have you got? Vertical slider was introduced not long ago. I think, then you just need to make height>width