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. |
14th February 2014, 23:08 | #23141 | Link | |
Registered User
Join Date: Dec 2013
Posts: 753
|
Quote:
I think that in this case the correct thing to do would be to convert the images to linear light, then multiply the values by some constant, and then convert back to nonlinear light. Even then I am not 100% certain that this actually gives you a fair comparison since linear light may not necessarily seem linear to humans. For the most objective comparison you should probably blur the images in linear light, in that case a 'perfectly' dithered images should be identical to the original. I have no way of verifying if this is the way it was done and I don't know if there even exists any software which performs brightening in this way. |
|
14th February 2014, 23:29 | #23142 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Dithering is the very last step, after everything else, including after custom pixel shaders.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
14th February 2014, 23:31 | #23143 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Quote:
Gamma Light seems to have the banding, and linear also looks closer to the original to me, although the end of the gradient doesn't match perfectly on either.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
15th February 2014, 00:17 | #23144 | Link | |
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
Those three images were used as the source for this comparison: Black point is closest, and the gamma image values track closest to the 16-bit ones throughout the range. (neither are close in the upper range, but below about 50% gamma seems better) |
|
15th February 2014, 00:37 | #23146 | Link |
Registered User
Join Date: Feb 2014
Posts: 139
|
Sorry for the tangent, but I have a quick update on my troubleshooting with Directcompute dithering.
Given that my laptop uses two GPUs, I decided to try what would happen if I disabled the intel 4000 HD. Well, turns out madvr will try to run in software mode or something, as simple playback of 8 bit content without scaling slows down to a <1 fps slideshow. However, direct compute dithering now "works", in that it doesn't result in a black screen. I am still unsure if it's automatically ignoring directcompute settings in absence of GPU acceleration, or if I've somehow bypassed a bug in the drivers. I don't know why mpchc/madvr won't use my discreet gpu in the absence of the integrated one, but I did notice that madvr is displaying through an "unknown generic monitor" with an orange icon rather than the generic monitor that indicates my laptop screen. This leads me to believe that there is likely something wrong in the 13.12 catalyst drivers or the OEM intel 4000 drivers I'm using. Updating the 4000's drivers is tricky because every installer I have found refuses to install. I doubt the 13.12 drivers are the culprit, since virtually no one else has my problem. |
15th February 2014, 01:18 | #23148 | Link | |
Registered User
Join Date: Dec 2013
Posts: 753
|
Quote:
The only way I can explain that linear light makes the dark regions brighter is if the linear gamma build used a gamma lower than 1, and I'm pretty sure this would have been noticeable. |
|
15th February 2014, 01:24 | #23149 | Link | |
Registered User
Join Date: May 2012
Posts: 447
|
Quote:
Edit: Ah, bacondither mentioned this. The results are so close together that it seems kind of important.
__________________
Test patterns: Grayscale yuv444p16le perceptually spaced gradient v2.1 (8-bit version), Multicolor yuv444p16le perceptually spaced gradient v2.1 (8-bit version) Last edited by Ver Greeneyes; 15th February 2014 at 01:27. |
|
15th February 2014, 01:53 | #23150 | Link |
Registered User
Join Date: Jan 2013
Location: Savoie FRANCE
Posts: 13
|
With Pioneer LX6090 display , gamma at 2.45, I vote for Gamma Light. Though I expected the opposite.
I don't know for sure if it's the most accurate, but I prefer its 3D effect, without the inconvenience of sharpening. If LL wins the vote, I'd like GL to remain as some kind of "3D cool setting". Anyway many thanks to Madshi -and all testers- to achieve this great work. PS: DVD have never looked so nice thank to NNEDI3 |
15th February 2014, 01:59 | #23151 | Link |
Registered User
Join Date: Dec 2008
Posts: 496
|
madshi, I wanted to do some further testing with some TIF images (8bit/16bit per component), but I only get a black screen when loading them into madVR. LAV doesnīt seem to be the problem, because the file is being loaded and LAV also shows the file properties correctly, but the picture just stays black no matter what I do (disabled smooth motion to be sure).
Can I solve this somehow? Here are two examples (first one 8bit, second one 16bit): http://www.mediafire.com/download/6n7ji6q9f2hi2jp/BrightnessCal.rar http://www.mediafire.com/download/9sbb5terv272meo/ColourRamp-1.rar |
15th February 2014, 02:44 | #23153 | Link | |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
Quote:
|
|
15th February 2014, 03:11 | #23154 | Link |
Registered User
Join Date: Dec 2013
Posts: 753
|
Actually, I tried to reconstruct what bacondither did but with the brightening performed in linear light, as far as I can tell this makes GL perform better (less banding, more accurate). I'll post some images in the near future, I still need to make sure that I haven't made any silly mistakes.
|
15th February 2014, 03:15 | #23155 | Link |
Registered User
Join Date: May 2012
Posts: 447
|
I did the same thing bacondither did but with device RGB spacing, and generating an expanded version of the original myself (it's my program, after all). There's no trickyness going on here: every image is expanded from 0-6 to 0-255, except the expanded original which I generated. Let me know if this helps clear up the difference between GL and LL.
no dithering random dithering gamma light error diffusion linear light error diffusion expanded original (I think it shows that Gamma Light is more true to the source. How is the Linear Light conversion being done?)
__________________
Test patterns: Grayscale yuv444p16le perceptually spaced gradient v2.1 (8-bit version), Multicolor yuv444p16le perceptually spaced gradient v2.1 (8-bit version) Last edited by Ver Greeneyes; 15th February 2014 at 03:18. |
15th February 2014, 03:36 | #23156 | Link | |
Registered User
Join Date: Jan 2013
Posts: 18
|
Quote:
Indeed it is. I also see that. Thanks for the original image. |
|
15th February 2014, 03:43 | #23157 | Link | |
Registered User
Join Date: Dec 2008
Posts: 496
|
Quote:
If you compare your expanded original with the dark grays/blacks at the top left or bottom right edge of the gamma light example, it brightens the dark grays/blacks up quite a lot, while linear light has an extremely smooth transition down to black and finally reference black that closely resembles that of your expanded original. Why would we suddenly accept something that brightens up all the important blacks by such a considerable amount? Black isnīt like the black in your original anymore, itīs a block of gray. This would seriously hurt dark movies or dark scenes. Also, when you look closely, with gamma light I can see big repeating blocks of gray levels, while with linear light this is barely visible. The transitions themselves are way smoother with linear light. This perfectly resembles baconditherīs findings, indeed. Because in his examples I also prefered linear light for both of these reasons. Other than that though, for some reason the gamma light build gives the impression of a more dynamic and vibrant picture, sharper edges and it seems to be a bit better in terms of detail. Quite frustrating, really. Because when looking at still pictures like that, linear light wins (IMHO), but when pictures start to move, thatīs when our eyes seem to like gamma light more. Thanks. Last edited by iSunrise; 15th February 2014 at 04:21. |
|
15th February 2014, 04:21 | #23158 | Link | |
Registered User
Join Date: May 2012
Posts: 447
|
Quote:
I see them pretty clearly for both Gamma Light and Linear Light - but for the latter they stand out more near black, so I think Gamma Light looks smoother.
__________________
Test patterns: Grayscale yuv444p16le perceptually spaced gradient v2.1 (8-bit version), Multicolor yuv444p16le perceptually spaced gradient v2.1 (8-bit version) |
|
15th February 2014, 04:41 | #23159 | Link | |
Registered User
Join Date: Dec 2008
Posts: 496
|
Quote:
Yes, you are perfectly right, gamma light is indeed more representative of the expanded original, because only the outer edge is indeed pure black. At least for me, I think this is settled now, because I also strongly prefered gamma light when watching actual movies, anyway. My confusion suddenly has left the building. Hurray! @madshi: Just stumbled over a possible bug by accident. When I enable DCI-P3 calibration in the settings, I get this: Going to bed now, way too late. Last edited by iSunrise; 15th February 2014 at 05:14. |
|
15th February 2014, 07:14 | #23160 | Link | |||||
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Quote:
Quote:
Quote:
Quote:
Quote:
Last edited by cyberbeing; 15th February 2014 at 07:28. |
|||||
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|