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 > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th May 2015, 01:41   #1  |  Link
luquinhas0021
The image enthusyast
 
Join Date: Mar 2015
Location: Brazil
Posts: 270
best upscale algorithm

what is more accurate (retention of every detail): smart edge 2 or m spline (neural spline)? And why? Smart edge 2 creates details?

Last edited by luquinhas0021; 25th May 2015 at 01:58.
luquinhas0021 is offline   Reply With Quote
Old 25th May 2015, 01:53   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Please edit your question in accordance with rule #12!
http://forum.doom9.org/forum-rules.htm

Also, you should try to be as specific as possible. What exactly are you trying to achieve? What is nature of your source material?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 25th May 2015 at 11:41.
LoRd_MuldeR is offline   Reply With Quote
Old 25th May 2015, 12:13   #3  |  Link
luquinhas0021
The image enthusyast
 
Join Date: Mar 2015
Location: Brazil
Posts: 270
i`m talking about photo upscaling and single frame upscaling
luquinhas0021 is offline   Reply With Quote
Old 25th May 2015, 17:58   #4  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,373
Some algorithms might do a pretty nice job on some images, but none can be perfect, as the basic information is not present in the source. Therefore, there is no "best method." You must compare using your source material and make your own judgement.

Here's a good page for quickly comparing upscaling algorithms:
Video resize methods comparison (infognition.com)
Click on the top-left thumbnail, named "smiths.avi", then the right popup.
Then click the buttons to compare the different algorithms.

Here's another one:
Comparisons of Image Magnification Methods (general-cathexis.com)
Hover your mouse over the numbers placed around the outside of the large image.
raffriff42 is offline   Reply With Quote
Old 26th May 2015, 13:21   #5  |  Link
pandy
Registered User
 
Join Date: Mar 2006
Posts: 1,049
Quote:
Originally Posted by luquinhas0021 View Post
what is more accurate (retention of every detail): smart edge 2 or m spline (neural spline)? And why? Smart edge 2 creates details?
From math perspective: point resampling (Nearest-neighbor interpolation). All details are kept intact.
pandy is offline   Reply With Quote
Old 26th May 2015, 15:04   #6  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
Quote:
Originally Posted by pandy View Post
From math perspective: point resampling (Nearest-neighbor interpolation). All details are kept intact.
Only if you are up-scaling by an exact multiple, ie 1.5x give you alternately 1 pixel wide column/right and a 2 pixel wide column/right.

anyway it adds steps that there aren't in source.
__________________
powered by Google Translator
Motenai Yoda is offline   Reply With Quote
Old 26th May 2015, 15:42   #7  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
padding/addborders
they blow the frame size up without doing anything to the actual clip
feisty2 is offline   Reply With Quote
Old 27th May 2015, 16:12   #8  |  Link
pandy
Registered User
 
Join Date: Mar 2006
Posts: 1,049
Quote:
Originally Posted by Motenai Yoda View Post
Only if you are up-scaling by an exact multiple, ie 1.5x give you alternately 1 pixel wide column/right and a 2 pixel wide column/right.

anyway it adds steps that there aren't in source.
Topic is about upscale not general resampling.
Yes fraction upscaling with point resampling can give described result but it is fully reversible i.e. non lossy.
pandy is offline   Reply With Quote
Old 27th May 2015, 20:01   #9  |  Link
*.mp4 guy
Registered User
 
*.mp4 guy's Avatar
 
Join Date: Feb 2004
Posts: 1,348
Point scaling is only non-lossy If you don't do /anything/ with the result. Beyond that, all of the major linear interpolators in avisynth use strictly interpolating kernels, thus they can be made to be lossless under any condition during which pointresize could be lossless by choosing the correct pixel offsets. For integer interpolation be odd factors, eg. 3, 5 you don't even need to calculate an offset, the center pixel ( ie. b, when scaling by a factor of 3 from the pixel set [1->a b c], is unchanged, b=1). This property is generally much much more useful, as lnear interpolation doesn't cause problems for subsequent operations the way pointscaling does. Depending upon how you upscale with nnedi3, it too can produce a lossless result, preserving all of the original picture information in a manner analogous to the situation with linear interpolation.

Point being, if you need "lossless" interpolation, you've got better options than pointresize.
*.mp4 guy is offline   Reply With Quote
Old 28th May 2015, 03:16   #10  |  Link
luquinhas0021
The image enthusyast
 
Join Date: Mar 2015
Location: Brazil
Posts: 270
*mp4 gui, tell me how i can make a lossless resize with nnedi3, once even spline 100 was better than it in images and videos that i had upscaled! Three more questions: antialiasing filter makes detail loss? Is there some detail lossless aa filter? What is better center shift correction algorithm that i can choose for nnedi3 parameter? nnedi3 doesn`t is update by tritical since 2011. It was discontinued?
luquinhas0021 is offline   Reply With Quote
Old 28th May 2015, 03:42   #11  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
if you change something by adding or removing something you lose something it's that simple.
huhn is offline   Reply With Quote
Old 28th May 2015, 10:06   #12  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by *.mp4 guy View Post
all of the major linear interpolators in avisynth use strictly interpolating kernels, thus they can be made to be lossless under any condition during which pointresize could be lossless by choosing the correct pixel offsets.
Yes.
The exceptions to this (ie those that are not strictly interpolating) are BicubicResize with b/=0 and GaussResize with values of p less than about 80.

See also this old thread: Lossless resizing.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Reply

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 06:33.


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