Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd January 2011, 03:43   #1  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,352
gamma on resizers

long ago I came to this page where was explained the flaws of average scaling methods. So when I wanted high quality resizes Id choose float point based resizing in Photoshop, although narrowing the options to bilinear. Now that there are wonderful resizers in avisynth and some plugins work in float point (smoothadjust,dfttest), wouldn't it be possible to implement this?

PD: didn't want to dig grave the splineresize thread.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread

Last edited by Dogway; 2nd January 2011 at 07:28.
Dogway is offline   Reply With Quote
Old 2nd January 2011, 05:49   #2  |  Link
Lyris
Registered User
 
Join Date: Sep 2007
Location: Europe
Posts: 602
+1 - has anyone implemented linear light scaling in AviSynth?
Lyris is offline   Reply With Quote
Old 2nd January 2011, 08:39   #3  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,867
I'm sure it could be done in masktools.
I doubt avisynth is gamma-aware.
jmac698 is offline   Reply With Quote
Old 2nd January 2011, 11:26   #4  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Yes it's possible to implement this, but it will be slower...

Because all calculations will be at least in 16bits instead of 8bits (to avoid big rounding errors with gamma)

And most of the time the difference is small on real videos.
LaTo is offline   Reply With Quote
Old 2nd January 2011, 11:56   #5  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
This has been discussed in the past:
http://forum.doom9.org/showthread.php?t=134192
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 2nd January 2011, 13:38   #6  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,352
Thanks for the link, I tried the photoresize function. Ignoring the scaling quality comparison many artifacts were introduced (ringing,red blocking in darks)
spline64
Photoresize
I guess they are waiting for Avisynth 2.6 (?)
I like using avisynth as an still image processor, I know I could do better moving to matlabs, but I come from the CG field, coding is not my strong...
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread

Last edited by Dogway; 3rd January 2011 at 10:59.
Dogway is offline   Reply With Quote
Reply

Tags
float, gamma, resizer, scale, spline

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.