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. |
20th August 2016, 12:49 | #21 | Link |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
I tried to enlarge the image in a resolution of 584x448 in the preview of VirtualDub. So the Intel HD upscaling is effective.
I just wanted to see After, I take a screenshot and cut the picture in Paint : I reduce the size to 292x224 : Original : When we compare to the original picture, the enlargement is almost transparent (a bit blurry, but it's very natural, and maybe it's because I started with a resolution of 584x448 and downsized) compared to others filters, don't you think ? And then, I tried with the same AviSynth script : I should try directly in resolution 352x270 for the base. The problem is that I can't use this filter to encode videos. Last edited by SuperLumberjack; 20th August 2016 at 12:52. |
20th August 2016, 13:12 | #22 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
The picture in 352x270 with Intel HD upscaling :
The picture upscaled to 1408x1080 just with Spline16 : I hoped something better But now I know So, the best result for the moment is this with the original picture : Quote:
I will see if I can enhance this. |
|
20th August 2016, 14:22 | #25 | Link | ||
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Code:
r=clip.ShowRed("YV12") g=clip.ShowGreen("YV12") b=clip.ShowBlue("YV12") r2=r.SimpleResize(... , ...) g2=g.SimpleResize(... , ...) b2=b.SimpleResize(... , ...) MergeRGB(r2,g2,b2) |
||
20th August 2016, 15:08 | #27 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
If you're source is RGB then you're better off sticking with RGB. Then again I'm not really sure what you're doing. I see you're resampling 3 times? Why no just once to your final resolution? There's also no good reason to be using SimpleResize
|
20th August 2016, 15:43 | #28 | Link | ||
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Quote:
I want that the result remembers me the era where I played Super Nintendo games on a CRT I'm just talking about the feeling. I don't want scanlines and others things like that It's complicated to have an enhanced image and to preserve this old feeling proper to these old games. I search the good balance. I tried with just one step and many filters, but I don't get this special thing Quote:
YV24 is equivalent to RGB24 no ? But, yes, if I don't need to convert to YV24, I prefer to stay with RGB24 |
||
20th August 2016, 16:13 | #29 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
To an extent, both YV24 and RGB are not subsampled but YV24 is a different color space than RGB. To avoid these unnecessary color space conversions use the example in post #25. |
|
20th August 2016, 17:34 | #30 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Yeah, I know that it's completely subjective
I just try to find the good alchemy visually I tried this, and its not so bad ! The original : Quote:
For the conversion RGB24 to YV24, as I said, it's just for the filters that don't support RGB24 |
|
20th August 2016, 17:54 | #31 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Code:
AviSource() # RGB source Spline16Resize(1234, 1080) r = ShowRed("YV12").SimpleResize(2816, 2160) g = ShowGreen("YV12").SimpleResize(2816, 2160) b = ShowBlue("YV12").SimpleResize(2816, 2160) MergeRGB(r,g,b) BicubicResize(b=0, c=0.5, 1408, 1080) |
|
20th August 2016, 18:08 | #32 | Link | ||
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
I understand, but the reason of the conversion with SimpleResize is that with this
Quote:
Quote:
|
||
20th August 2016, 18:24 | #33 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Last edited by Reel.Deel; 20th August 2016 at 18:28. |
|
20th August 2016, 20:16 | #34 | Link |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Thanks !
But with the internal resizers only, I didn't get what I research. It's in the movement that there is a big difference. I'm doing a video that I will upload on YouTube to show you differents resultats of the scripts I already did the other days. |
20th August 2016, 20:24 | #35 | Link | |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
Quote:
http://forum.doom9.org/showthread.php?t=170732(cropped to save bandwidth because the image is not very compressible) Code:
LoadPlugin(pathBase + "MaskTools2\tp7masktools\masktools2.dll") Import(pathBase + "Dither\v1.27.1\dither.avsi") Import(pathBase + "crt_display\crt_display.avsi") ImageSource("SuperNES-originale-basse-definition.png", pixel_type="RGB32") par = 8.0 / 7.0 ## Pixel Aspect Ratio crt_display(4*par, 4, ppp=2*par, maskpp=2, blurh=1.1, \ vcs=0.071, cromaclear=1, scandist=1.5, glowgain=0.5, \ glowh=2, glowv=0.5, halgain=0.03, cutoff=0.9) return Last http://bogost.com/games/a_television_simulator/ Last edited by raffriff42; 16th March 2017 at 23:00. Reason: (fixed image link) |
|
21st August 2016, 00:21 | #37 | Link |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Here is a video to show you what are the sensations in movement :
https://youtu.be/-Q6fyxXDTJU For each script, a different feeling ! But the purest feeling is with the original resolution. It's what I try to retrieve in HD. |
21st August 2016, 13:17 | #39 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
SuperLumberjack, I'm not sure what you want either, no idea how you measure this 'feeling' thing.
But curious to know what does the below plugin 'feel' like ? (~40KB) http://www.mediafire.com/download/1d...l_20160329.zip Plug was hacked up some time ago (will be quite slow), to try and bring out some detail from a car number plate, (burglar driver), dont bother with the r,g,b modification stuff, just resizing arg SZ. Doc supplied in zip (zip incl source) Code:
Rgb_Test(clip c, Int "SZ",float "Rr"=1.0,Float "Rg"=0.0,Float "Rb"=0.0, \ float "Gr"=0.0,Float "Gg"=1.0,Float "Gb"=0.0,float "Br"=0.0,Float "Bg"=0.0,Float "Bb"=1.0) Filter to both upsize clip and modify R,G,B, RGB24 ONLY, null audio. Output frame is c.Width*SZ x c.Height*SZ pixels, RGB24. Views source frame as a c.Width*SZ x c.Height*SZ frame of micropixels where each source pixel is SZxSZ micro pixels. Each output pixel is result of summing SZxSZ source micropixels. The R,G and B channels are modified via the other arguments, eg red component comes from Int((rSum * Rr + gSum * Rg + bSum * Rb) / (SZ*SZ) + 0.5) # Range 0 -> 255.0 if Rr+Rg+Rb sum to 1.0) The result pixel Red channel is then limited to range 0->255. Same for the other channels. Defaults: SZ = 5, output clip 5x5 size of input clip. Range ODD ONLY, 1 -> 9. (1=No resize) Rr = 1.0 Rg = 0.0 Rb = 0.0 Should sum to 1.0 (valid -3.0 to 3.0) Gr = 0.0 Gg = 1.0 Gb = 0.0 Should sum to 1.0 (valid -3.0 to 3.0) Br = 0.0 Bg = 0.0 Bb = 1.0 Should sum to 1.0 (valid -3.0 to 3.0)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 21st August 2016 at 13:40. |
Thread Tools | Search this Thread |
Display Modes | |
|
|