It is currently Mon Jul 22, 2024 10:46 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Sun Sep 23, 2012 7:23 pm  (#21) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Rod wrote:
an actual function in GMIC or your own variable?


an actual function in gmic (on line 4468 of the definition)
maybe the problem may be "w" or "h", that in the def are for image width and height but is not specified if that indicate also the respective value in pixel

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Sun Sep 23, 2012 8:17 pm  (#22) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
SOLVED!!

it was just a wrong type of parentheses "()" instead than " {}" , thank to Karo to point it out
http://www.flickr.com/groups/gmic/discu ... 1608183437

The filter is ready ...but now how you type " {}"...till now i solved by copy and paste

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Tue Sep 25, 2012 11:01 pm  (#23) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
The filter is ready viewtopic.php?f=4&t=5303 and may set automatically the best theoretical value for pre blur

BUT i am no so convinced that the theory give the best result...give very good result if the scaling followed by a moderate sharpening (more or less the default in the filter )..but without post sharpening seems to add a soft focus effect .

So i added manual control for blur ...and returning to the best method for downscale i agree for a minimum of about 1 pixel but then i will seldom go over 1.6..
let 's say to to scale 3:1 i get better result with 1.5 then with 3, that will be the theoretical value.

Also with this values a moderate post sharpening improve much but is no more strictly needed to avoid a soft focus effect

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Wed Sep 26, 2012 3:05 pm  (#24) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
PhotoComix wrote:
BUT i am no so convinced that the theory give the best result...give very good result if the scaling followed by a moderate sharpening (more or less the default in the filter )..but without post sharpening seems to add a soft focus effect

The theory tells you why you get artefacts sometimes. Correct pre-blur has very little effect on final output in most cases, but it an in some cases prevent an artificial accentuation caused by frequency folding which isn't so violent as to appear as moiré or aliasing.

_________________
Image


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Wed Sep 26, 2012 4:48 pm  (#25) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
My Rough Idea of Gimp Scaling Options
Gimp Default, None, nearest neighbor, (digital value from the pixel in the original image which is nearest to the new pixel location in the scaled image), possible side-effects, aliasing, artifacts.
Good, (Bi)Linear, 4 nearest pixels (2x2), possible side-effect, aliasing.
Better, (Bi)Cubic, 16 nearest pixels (4x4), possible side-effect, blurring.
Better, Sinc (Lanczos3), 36 nearest pixels (8x8), possible side-effect, ringing/halo.

All the technical stuff is at the following link. There's lot's of good reading along with the math. Make sure to check all 3 tabs, article, demo, archive.

Linear Methods for Image Interpolation
http://www.ipol.im/pub/art/2011/g_lmii/

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Sun May 18, 2014 5:50 pm  (#26) 
Offline
New Member

Joined: May 18, 2014
Posts: 2
Hello,
i know this thread is old but it exactly matches my problem. Im looking for a way to reduce the resolution without losing too much detail.
Several times (also in this thread) the gluas plugin plus decimation algorithm was named to bring good results. So i wanted to try that out.
I downloaded GIMP ver. 2.8 and a compiled version of gluas 0.1.20 and put it into the plugin folder.
It seems to appear properly under "Filters-Generic-gluas" (im using the german version as you can see in the picture). But i dont know how i can use it, since its not activated (see picture).

Image

Im kinda new to GIMP so i might miss something there.

Someone, having experience using this plugin, can help?

I tried to find a good tutorial for gluas too... a lot of them explaining the syntax and other details. I found a algorithm for the Decimation process but where to add/insert this?
Do I have to generate additional script-files in the plugin folder?
Does the faded button means its not compatible (tried 32bit & 64bit plugin)?
OS is Win7 Ultimate x64 btw.

Im also interested in alternative solutions. I know there is no ultimate algorithm for EVERY picture, but im asking to share your experience :)

Greetings


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Sun May 18, 2014 6:00 pm  (#27) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Do you have a layer open? It won't activate without an open layer.

_________________
Image


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Sun May 18, 2014 6:49 pm  (#28) 
Offline
New Member

Joined: May 18, 2014
Posts: 2
Hello, :tyspin for fast reply.
Yes, i opened a file and selected the layer... but my testfile was a greyscale image :roll:
I switched to RGB mode and its working now. Results with decimation script are indeed very good. I think i can work with that.
Are there any other nice plugins for downscaling?

Greetings


Top
 Post subject: Re: Best interpolation method for Downscale ?
PostPosted: Sun May 18, 2014 7:04 pm  (#29) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I use image scale image when I resize . There is also filters > generic > mathmap > time
and filters > mathmap > geometry

_________________
Image


Top
Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Center-Based Morphing/Interpolation

2

No new posts Attachment(s) A New 3D Text Method

7

No new posts Attachment(s) Seeking method restoring colour of old photo

24

No new posts Attachment(s) Shortening mouse/keystrokes save/export script or method to implement?

41



* Login  



Powered by phpBB3 © phpBB Group