Woolz Image Processing
Version 1.7.5
|
WlzGreyInvert [-u#] [-l#] [-h] [-v] [<input file>]
-h | Help, prints usage message. |
-v | Verbose operation. |
-l | Low grey value, default min value in source. |
-u | Upper grey value, default max value in source. |
\[ g_{out} = g_u + g_l - g_{in} \]
where \(g_{out}\) is the new grey value, \(g_{in}\) is the given grey value, \(g_u\) is the upper grey value and \(g_l\) is the lower grey value.WlzGreyInvert -u 255 -l 0 in.wlz >out.wlzInverts the grey valued object read from in.wlz so that its values are inverted and in the range 0 - 255. The resulting object is then written to out.wlz.