I have one Gray scale image, which I wants to read row by row and process( to find the median) I created one QImage by loading the file. Then I used scanline(x) to read the row. But I am getting some wrong values( hope values should be 0-256). Scanline() gets the RGBA values I think. How to use this method for gray scale. Or any other solution please
Thanks