Woolz Image Processing
Version 1.7.5
|
WlzGreySetRange [-u#] [-l#] [-U#] [-L#] [-h] [-v] [<input file>]
-h | Help, prints usage message. |
-d | Dither values. |
-v | Verbose operation. |
-l | Low grey value in source image, default min value in source. |
-L | Low grey value in destination image, default 0. |
-u | Upper grey value in source image, default max value in source. |
-U | Upper grey value in dest image, default 0. |
g_{out} = (\frac{U - L}{u - l})g_{in} + L new_grey = ((U - L)/(u - l))*old_grey + L
where U and L are the new upper and lower values and u and l are the old upper and lower values. If u and l are set it is up to the user to ensure that the actual image values are within the range [u,l]. Use WlzGreyRange to check.