hello,
I need some help for getting the right way on using pyqt and opencv. I would like to make a desktop aplication for annotate annomalies in medical images; basically to Qlabel widgets: the left one for explore the image files and the right one for getting a ROI of the region where the annomalie is, so when this region be display in the Qlabel of the right part you can define its edges…so my questions are:
- can this be done through QImage and QPixmap (I’ve used mouspressevent for getting the rectangle coordinates, the global ones and the ones related with the widget but are not related with the original images), also I’m new using this plattforms really get lost with this representation, I have a 10% of experience using matlab and the representation I have is matrixial, so the real question can you slice or subimages QImage…
- I’m scaling the image in the QImage for passing it to the Qlabel widget, do I need to use the rect funtion for getting a scale rate so that mouse click correspond to the Qlabel visualize area…
- Its necessary to used this combination opencv → qimage → qpixmap all the way for using opencv and Qt advantages…
thanks a lot for your time and for the knowhow…greetings