Solved how can we extract mouse selected area pixels
-
Hi all , how we can extract mouse selected area pixels into array,suggestions please.
-
hi
You could use
http://doc.qt.io/qt-5.5/qrubberband.html#details
for the visual effect of selecting the area,
then use copy command
http://doc.qt.io/qt-5.5/qpixmap.html#copy
to create pixmap with only that area
and then use your code from
https://forum.qt.io/topic/61149/efficient-way-to-extract-pixels-from-image
to process the pixels of the copied area.