image_statistics.ijm 311 Bytes
Newer Older
walker's avatar
walker committed
1
2
3
4
5
6
7
8
9
10
11
12
13
// get current image title
imageName = getTitle();

// get image statistics 
getStatistics(area, mean, min, max, std);

// show results
print("Image name is " + imageName);
print("The grey value ranges from " + min + " to " + max + ". ");
print("It has an average of " + mean + " +- " + std + ". ");

close();