Gimp-Forum.net
Image Scaling Interpolation options - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Gimp 2.10 (https://www.gimp-forum.net/Forum-Gimp-2-10)
+--- Thread: Image Scaling Interpolation options (/Thread-Image-Scaling-Interpolation-options)



Image Scaling Interpolation options - fotofill1969 - 06-21-2018

1) Using Gimp 2.10.2  2) Mint 18.3
 
With Gimp 2.8 I had the option of selecting "Sinc Lanczos2" as the interpolation policy under "Image/Scale Image."
With Gimp 2.10 the options are "None," "Linear," Cubic," "NoHalo," and "LoHalo."  "Sinc (Lanczos3)" as recommended on the Gimp website is not offered as an option. I have been using "NoHalo" which seems to be OK, but I'd feel more comfortable using the Sinc (Lanczos3) because of the recommendation. Is there a way to install that profile or policy?


RE: Image Scaling Interpolation options - Ofnuts - 06-21-2018

No, you can't add back Sinc/Lanczos (unless you are a pretty good C programmer). But developpers have discussed the merits of LoHalo/NoHalo and found that they performed better than Sinc/lanzos (which was recommended only because it was better than the available alternatives in 2.8).


RE: Image Scaling Interpolation options - fotofill1969 - 06-22-2018

(06-21-2018, 11:25 PM)Ofnuts Wrote: No, you can't add back Sinc/Lanczos (unless you are a pretty good C programmer). But developpers have discussed the merits of LoHalo/NoHalo and found that they performed better than Sinc/lanzos (which was recommended only because it was better than the available alternatives in 2.8).

OK. Good to know. Thank  you for the information.


RE: Image Scaling Interpolation options - CaveMole - 12-08-2020

(06-21-2018, 11:25 PM)Ofnuts Wrote: No, you can't add back Sinc/Lanczos (unless you are a pretty good C programmer). But developpers have discussed the merits of LoHalo/NoHalo and found that they performed better than Sinc/lanzos (which was recommended only because it was better than the available alternatives in 2.8).

I am a professional image analyst.  LoHalo and NoHalo are terrible in comparison to Sinc/Lanczos.  Period.  I need to find another way to downsample my (scientific) images now.  In what manner are they similar?

I just upgraded 2.8 to 2.10 to get handle transform.  But the **Halo methods look totally blurry for the same image types, same scaling.  Very large downsample... like 10:1.


RE: Image Scaling Interpolation options - rich2005 - 12-09-2020

Quote:...Very large downsample... like 10:1

The only lanczsos scaling I have come across in Gimp 2.10 comes from the gimp_gmic_qt plugin, http://www.gmic.eu One of the filters: Layers -> Multiscale Operator.

[attachment=5303]

Always some snags, works in percentages not absolute pixel sizes and as the name 'multi' layers. You can get out 2 layers of the same size as a new image, effectively a single layer. The gmic operation could be scripted if required to make it more convenient. Not exactly the same as the equivalent Gimp 2.8 scale but close. Comparison attached.


RE: Image Scaling Interpolation options - Krikor - 12-09-2020

(12-09-2020, 09:32 AM)rich2005 Wrote: Not exactly the same as the equivalent Gimp 2.8 scale but close. Comparison attached.

It seems that in version 2.8 the pixalization is less noticeable. But that with an increase of 800%.
I practically could not see differences with visualization in 100%.


RE: Image Scaling Interpolation options - programmer_ceds - 12-09-2020

Sinc (Lanczos3) in GIMP 2.8 also had a nasty habit (certainly if used with rotation of the image) of leaving pixels near the corners that had lower alpha values than pixels that were even closer to the corners. Some of the pixels that were closer to the corners could have alpha values of 255. This made removal of the (semi-)transparent areas using a script difficult.