2016-11-25, 12:56
(2016-11-25, 12:41)fritsch Wrote: Yeah, got your notation wrong. But what happens now? Is the ramp smooth? Or asked differently: What are you now doing ?
Can you give the result in this format (meaning the gray values where it ends up) for all lines:
Code:2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
Smoothness is determined by the interpolation. Since it's linear, it should be perfect. In practice, higher bit-depths won't share least common multiples, so the deviation from perfection will depend on the bit-depth (higher=smoother). In my example, lets say value 1 from Fritsch10 Full lands between "06" and "07," you'll be forced to choose the closest value rather than the perfect one as I was able to do here.
Fritsch10 Full:
Code:
00 = 0
06 = 1
12 = 2
18 = 3
24 = 4
30 = 5
36 = 6
42 = 7
48 = 8
54 = 9
60 = 10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
The key point is that we're not just lining up grey values. You can create new grey values, then use those to line up with your output format.
EDIT: Grey values aren't actually linear since they follow a power function, but the point still stands. Perfect interpolation is theoretically possible.
Hmm... now I'm beginning to doubt myself and see the error of my ways.