Re: Set mean gray value (from 16 bit TIFF) as background color
> On Nov 19, 2018, at 9:34 PM, mmettlen <[hidden email]> wrote:
> My macro measures the mean gray value of 16-bit TIF images but I haven't
> figured out how to convert this value (e.g. 130) to use in
> setBackgroundColor(R, G, B).... Like always: thanks for helping!
Use setColor(mean), as in this example which fills the center of a 16-bit image with the mean pixel value: