Hi,
How can I display a QImage in logarithmic scale?
The image is bounded by an QRectF that has positive left/right and top/bottom....
I know it is unusual, but it happens...
Hi,
How can I display a QImage in logarithmic scale?
The image is bounded by an QRectF that has positive left/right and top/bottom....
I know it is unusual, but it happens...
Anyone has an algorithm?
I see this http://www.dfanning.com/graphics_tips/logimage.html but hard to understand...
Unfortunately you'll have to recalculate the data yourself. Data in QImage is kept in a linear scale and there is nothing you can do about it. You can only use the formulas you mentioned to convert the image into linear scale.
Bookmarks