Suppose I have two images in MBook1 in Matrixsheets "Capture1" and "Flowers". This script gets those values:
range rm1 = [MBook1]Capture1!1; range rm2 = [MBook1]Flowers!1; stats rm1; stats.max=; stats rm2; stats.max=;
Note that if the image is RGB, you will get back an RGB value, otherwise you get an N-bit gray scale value.
Not using a script, you would have to use Analysis : Histogram, then: For gray scale images, you would have to find the last row for which Histogram Master is non-zero. For RGB you can do the same per channel.
|