2016-11-25, 10:49
I think you mix a lot of things here ...
the problem is in full range 0 == black and 16 is dark grey, 255 is white and 235 is light grey. Now if you have an image of width 235px, with pixel 0 is 16 and pixel 235 is 235. How would you get that to 0 .. 255 without seeing banding?
Let's do by example, assume we have limited fritsch10 range and full fritsch10 range, meaning: limited fritsch10 range is 2 .. 8 and fritsch10 full range is 0 .. 10.
Now you get the following picture (a nice grey ramp in fritsch10 limited format):
What would you now do with it in order to have 2 at 0 and 8 at 10, but you only have 7 values?
the problem is in full range 0 == black and 16 is dark grey, 255 is white and 235 is light grey. Now if you have an image of width 235px, with pixel 0 is 16 and pixel 235 is 235. How would you get that to 0 .. 255 without seeing banding?
Let's do by example, assume we have limited fritsch10 range and full fritsch10 range, meaning: limited fritsch10 range is 2 .. 8 and fritsch10 full range is 0 .. 10.
Now you get the following picture (a nice grey ramp in fritsch10 limited format):
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
What would you now do with it in order to have 2 at 0 and 8 at 10, but you only have 7 values?