scrollable area works, I'm able to view a complete image by srolling with sliders. (Though the sliders are both horizontal
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.