// Script function: Show the mean of rectangular ROI (will be the mean of the entire image if no ROI is selected). // Unless named starting with GlobalSino, EM, My, Self, the function commands are defined //by Gatan DM, please see at link: http://www.globalsino.com/EM/page2597.html image GlobalSinoImage GetFrontImage (GlobalSinoImage) number EMmean = Mean (GlobalSinoImage[]) string EMmessage = "Mean intensity in ROI: \n" EMmessage += "\n Image value: " + EMmean OKDialog(EMmessage)