Joined
·
11,139 Posts
Quote:
Originally Posted by madshi /forum/post/16237134
If you were right shouldn't Bilinear scaling produce the best results (apart from not doing sharpening)?
Quote:
You seem to think that using more than 2 pixels (more than Bilinear) only helps sharpness. I'm sorry to say, but I think you're wrong here. Using more than 2 pixels helps sharpness, but it also allows a smoother (less jaggied) interpolation of curves.
Quote:
My "non-ringing" algorithm is based on allowing ringing in some areas of the image and not allowing it in others. So I think it could be tweaked a little to accommodate your likings, but I haven't tried that yet, because personally I can't stand any ringing, no matter how small it is. The only reason that my algorithm allows ringing in some parts of the image is that if I suppressed any and all ringing, the image would lose all its smooth curves for whatever reason.
Quote:
Please check out especially the up/downscale. If you look at the ringing Lanczos4 up/downscale, you should notice that it looks almost identical to the original, while the Catmull-Rom result looks a lot softer.
Quote:
Originally Posted by dmunsil /forum/post/16381517
I absolutely grant you that in the specific samples you posted, some of the curves looked better using 4 lobe filters. But there's no specific theoretical reason to think that a 4-lobe would produce smoother curves across the board. They do in many of the cases in the specific image that you provided and in the lighthouse, but I'd want to see a lot more images before I'd make a blanket claim that 4-lobe in general produces smoother curves.
Quote:
Originally Posted by dmunsil /forum/post/16381517
Say I'm interpolating in one dimension and I have as my original pixels this line (in a single channel):
1 1 1 1 0 0 0 0
The interpolation between the middle pixels (the 1 and 0) is going to be some curve. Depending on our algorithm, it'll be some shape which will look better or worse. If you believe the Lanczos4 is a good idea, then you're arguing that I should use a subtly different curve between that middle 1 and 0 if my original data is:
0 1 1 1 0 0 0 1
Or
0 0 1 1 0 0 1 1
That makes no sense, physical or otherwise. Changing a value four pixels away cannot possibly have any physical effect on the local image area.
Quote:
Originally Posted by dmunsil /forum/post/16381517
Here's a thought experiment. Imagine curved edge on a black field sitting on a white field. The interpolated curve is awesome-looking. I drop a black pixel 4 pixels away from the edge. Should the edge interpolation change? Of course not. In reality, I can stick a dot in the image, and that doesn't tell you anything about an edge 4 pixels away. What if the pixel is bright red? Should the edge interpolation incorporate some red? Or the complementary color? If I move the red pixel left or right, it changes whether the edge is slightly red or slightly cyan. Why? Does that make physical sense?
Quote:
Originally Posted by dmunsil /forum/post/16381517
Going up then back down to the same size isn't actually the best way to test a filter. Lousy filters do seriously degrade the image when doing it, but as you note, doing upsampling to a simple integer ratio followed by downsampling to the original size makes it seem like long sinc filters are optimal, because they preserve more of the original image. Since the filter lobes during the downscale exactly line up with the ringing in the image, the ringing you get on the upscale gets largely erased on the downscale. That doesn't tell you whether the upscale looks good or not, and I think we all agree that many-lobe filters have issues
Quote:
Originally Posted by dmunsil /forum/post/16381517
Keep it up! Dig deeper! Prove me wrong!![]()
Quote:
Originally Posted by dmunsil /forum/post/16381517
Moreover, if you decided you liked that interpolation curve better, there's no reason to go look at the pixels far away to get that curve. Just design a shorter filter kernel that produces that specific curve. Done.
[...]
I think your algorithm is a huge improvement, but I still think it's sub-optimal to use a ringing filter, then suppress the ringing. You can easily design a short filter that will produce the exact same curve on the edges you care about, but doesn't ring in the first place. Of course, maybe that's what you're doing, in which case: I approve.![]()
Quote:
A spectrum analyzer was used to look at high frequency information. This was done on the Restaurant scene and on several motion pictures. This is how the 1300 vs. 800 was calculated.
Quote:
Originally Posted by FoLLgoTT /forum/post/16428164
This is a very interesting thread!![]()
Maybe my knowledge about scaling algorithms is not advanced enough. But in my understanding (and to my eyes) the frequency response of the algorithm is a very important parameter. Real world images are always filtered to not harm Nyquist-Shannon's sampling theorem and to avoid aliasing. So in my eyes it is no problem to use a scaling algorithm like Lanczos 8 which has a very good frequency response and very low beats/aliasing, because the introduced ringing occurs on very high frequencies which a filtered DVD/Blu-ray barely contain. And the inherent ringing of the medium is usually much stronger.
Quote:
Originally Posted by mhafner /forum/post/16429117
Certainly not correct for all the wide screen top and bottom edges from black to bright material. Properly done there is no ringing there. Using a ringing filter there will be.
Quote:
Originally Posted by FoLLgoTT /forum/post/16429161
I never thought about that, because usually there is inherent ringing on the border to the black bars. But you are right. In fact filling the picture of a cinemascope movie with black pixels to the full 480/576 ends in an image that breaks Shannon's law and leads to ringing when upscaled.
Quote:
Originally Posted by mhafner /forum/post/16432804
Usually it would be downscaled a bit, from 2K to 1080p, or a lot from 4K to 1080p. I suspect the best results happen when the 2K is from 4K scanning and then simply a bit cropped to get 1080p. No resampling applied.
Quote:
Originally Posted by benwaggoner /forum/post/16343208
Downsampling and upsampling are different beasts, of course. I like to arrange my affairs to that I'm never upsampling on either axis. Downsampling I've grown quite to like the Super Sampling implementation in Expression Encoder 2 SP1.
Quote:
Originally Posted by mhafner /forum/post/16432804
Usually it would be downscaled a bit, from 2K to 1080p, or a lot from 4K to 1080p. I suspect the best results happen when the 2K is from 4K scanning and then simply a bit cropped to get 1080p. No resampling applied.
Quote:
Originally Posted by Mr.D /forum/post/16952641
From some comparisons I've done it would appear that most 1080p transfers are simply cropped from 2048 to 1920 rather than resized. good news.![]()
BAD NEWS![]()
However there is still some sort of resize going on for reasons that are beyond me and frankly infuriating. I've ballparked it at about 0.03 rescale (seemingly not centred) in addition to the simple 1920 crop.
Its definitely not 1:1 pixel with the 2k scans but with seemingly no good reason for it not to be.
End result...what I'm seeing on BD isn't even close to the 2k in terms of sharpness. I'd estimate its closer to 1k. I'm comparing 2k with frame grabs from TMT which are unfortunately jpegs but even so its a shocking difference.
Always possible that the compression and jpeging is getting in the way but I find it impossible to believe its entirely to blame.
These are big budget films I'm talking about ..I can't post the comparisons and I won't divulge the titles of the films so please don't ask.
They are generally regarded as having excellent transfers though.
Quote:
Originally Posted by Lee Stewart /forum/post/16953387
Is the 2K scan done at 4:4:4?
Quote:
Originally Posted by Mr.D /forum/post/16952641
I'm comparing 2k with frame grabs from TMT which are unfortunately jpegs but even so its a shocking difference.
Quote:
Originally Posted by mhafner /forum/post/16946561
Are there any Linux tools to convert 10 bit DPX RGB to optimally dithered 8 bit YUV 4:2:0?
Quote:
Originally Posted by ChuckZ /forum/post/16955872
That's why they (all major studios) should be doing 4K DI so they can supersample down.
Quote:
Originally Posted by Kram Sacul /forum/post/16957423
Cropping 2048 to 1920 doesn't sound like a good idea. Wouldn't you lose a good portion of the image and screw up the aspect ratio?