Yes, you create a binary mask of the shape. Then compute quantumrange*imagemean/maskmean.
see example at http://www.fmwconcepts.com/imagemagick/tidbits/image.php#shape_mean >after cropping is done.. i need to compute the total intensity of the image >i.e. sum up the intensity of each pixel. My image is gray scale and value >various from 0 to 255 ( for instance). > >can this be done? _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
