From: Thomas Rauscher <pano@at...> - 2005-08-24 20:20:56
I think i finally made the anti-aliasing working. The new patch don't
use a linear interpolation for the filter size. Instead i use the
reverse transformation to calculate the exact coordinates, so the
filter is much more accurate. To determine the size i use a kind of
flood filling. I check out each pixel surrounding the exact position
in the source image. If it contributes to the current pixel, i move on
with the surrounding, and so on.
To avoid tones of reverse transformations i cache them in an Hash map,
so i think this is a good compromise between speed and memory usage.
The current implementation is not very well optimized for speed, but is
much less inversive to the code than the last attempt, because i made a
transFormEx function to transmit the inverse function from "adjust",
and i decide depending on the filter number where to move on.
The patch and a "release" build are available on my site:
Please give my your comments, ideas for improvements, what ever, to
bring this to a final patch for the dll.