Second even bigger improvement for Distorts [CLOSED]
Posted: 2010-09-27T18:51:08-07:00
IM v6.6.4-8
With major help from Professor Nicolas Robidoux and his [strikeout]PHD[/strikeout] Masters student Chantal Racette, I have been finally able to replace the "High Quality EWA" resampling method that IM has been using since it was first developed with a "Clamped EWA" resampling method.
This is a major improvement for Distorting images, especially those images that are not being resized (scaled) to any great extent. The "HQ-EWA" method generally make very very 'fuzzy' images. The new method is no where near as 'fuzzy' producing much clearer results.
Here are some examples..
old HQ-EWA method new Clamped-EWA method.
Extreme distortions such as 'Viewing Distant Horizons' are not effected to any great extent, though a 'rings' aliasing test showed much improved results.
Text distortion will especially show great improvements with much sharper and clearer distorted text images. Such as the "Around the World" Arc Ring Tests For example...
old HQ-EWA method new Clamped-EWA
The technique also allows us to make better use of non-Gaussian Image filters when distorting images, allowing us to generate even sharper image results. It is in this area where distortion work continues.
Also as part of the change Distort no long automatically switches between EWA resampling for minification and Interpolated resampling for magnification. As such the -interpolate filter switch introduced in the last 'improvement' is now discontinued. On the other hand the older -filter point will still switch from the use of EWA resampling to Interpolated Resampling.
ASIDE: A bug was also discovered in the original code that HQ-EWA was 'hidding' in its fuzziness. This bug caused sever aliasing in my previous attempts to convert a less fuzzy Clamped EWA, but only appears in very specific cases.
With major help from Professor Nicolas Robidoux and his [strikeout]PHD[/strikeout] Masters student Chantal Racette, I have been finally able to replace the "High Quality EWA" resampling method that IM has been using since it was first developed with a "Clamped EWA" resampling method.
This is a major improvement for Distorting images, especially those images that are not being resized (scaled) to any great extent. The "HQ-EWA" method generally make very very 'fuzzy' images. The new method is no where near as 'fuzzy' producing much clearer results.
Here are some examples..
old HQ-EWA method new Clamped-EWA method.
Extreme distortions such as 'Viewing Distant Horizons' are not effected to any great extent, though a 'rings' aliasing test showed much improved results.
Text distortion will especially show great improvements with much sharper and clearer distorted text images. Such as the "Around the World" Arc Ring Tests For example...
old HQ-EWA method new Clamped-EWA
The technique also allows us to make better use of non-Gaussian Image filters when distorting images, allowing us to generate even sharper image results. It is in this area where distortion work continues.
Also as part of the change Distort no long automatically switches between EWA resampling for minification and Interpolated resampling for magnification. As such the -interpolate filter switch introduced in the last 'improvement' is now discontinued. On the other hand the older -filter point will still switch from the use of EWA resampling to Interpolated Resampling.
ASIDE: A bug was also discovered in the original code that HQ-EWA was 'hidding' in its fuzziness. This bug caused sever aliasing in my previous attempts to convert a less fuzzy Clamped EWA, but only appears in very specific cases.