Sagelight resizes with 16-bit arithmetic (but has been long stuck on a mandatory and rather at this point byzantine Bilinear re-sampling process, only).
Ha.. Well, I have to agree with that. Sagelight's next version will have Lanzcos 3, 5, and 8 options.
That sounds good, Rob ...
Actually, now that I think about it, you're the one that talked me into it! Well, you were right -- it is much nicer, and I am pleased with the results.
Sagelight will be calculating the resizing at 64-bits per-channel. That seems to make a small difference.
Thanks again for convincing me on it...
Thanks for attempting to address it.
BTW - I have always wondered if Sagelight's 16-bit Unsharp Masking tool performs luminance-only (or RGB) USM ? PaintShop Pro X4 (16-bit arithmetic pretty much in all functions) has the option to use either method (which is an option that I find is nice to have available, depending on image).
Any thoughts on C*I*E LAB vs. RGB resizing?
I am by no means well-schooled in this stuff. However, I have been doing some reading, and it appears that it is quite important to
linearize any non-linear Gamma curves that are imposed on the image-data prior to conducting the re-sampling process , then re-apply relevant Gamma corrections.
This page has a lot of good information about that - and lists software (updated Jan 26, 2012) which does truly implement this evidently important technique. It appears that the 16-bit arithmetic applications Photoshop (CS4+), Lightroom (Versions 1.41+), PaintShop Pro (X2+), RAW Therapee, and Bibble (5+) do correctly perform such re-sampling using linearized image-data. See:
http://www.4p8.com/eric.brasseur/gamma.html
Note that (if linearizing sRGB), the Gamma constant is
2.4 (not 2.2). Thus, it would make sense (in the case of sRGB) to linearize the image-data using the specific sRGB encoding/decoding identities (which are given in the above-linked paper). Here is Color.org's full sRGB specification, as well:
http://www.color.org/srgb.pdf
From all appearances, CIE Lab is a gamma-encoded version of CIE XYZ that uses a Gamma constant of
3.0 . See these links for the relevant (CIE XYZ - CIE Lab) forward and reverse transformations:
http://www.getreuer.info/home/colorspace#TOC-CIE-Standard-Color-Spaces
and latter entries in:
http://software.intel.com/sites/products/documentation/hpc/ipp/ippi/ippi_ch6/ch6_color_models.html
A couple of other pages which look to be informative (and accessible to the non-expert reader):
http://www.babelcolor.com/download/A%20review%20of%20RGB%20color%20spaces.pdf
http://www.cs.joensuu.fi/~pkoirala/article/RGB-space.pdf
Good luck with coding/development. Let us know when you finally do accomplish these things ...
DM ...
