Hi all, I am implementing a curve tool which will apply realtime color modification(contrast/color balancing) of an image. It will be similar to the curve tool of GIMP or Adobe PhotoShop. I have implemented the curve fitting, so I have the QPolygonF of fitted curve points when the user modifies the curve by mouse move. Now I have to apply fast, realtime color mapping based on the new curve points; how can I use the QwtColorMap class to achieve this? Any sample code that applies color mapping to a given QImage using a number of curve points? And I need to apply this both for indexed/grayscale images and color RGB images..
Best regards.
Bookmarks