StatIm
De MicMac
Sommaire
Description
Display grey value of a given pixel of a greyscale tif image, or average value of an aera. Hence, could be used to retrieve altitudes from 16 bits depth maps.
Applied to a color image, it gives first channel (usually red) value.
Syntax
The global syntax for StatIm is
mm3d StatIm FullName Origin Size
Help
You can access to the help by typing :
mm3d StatIm -help
Mandatory unnamed args :
- string :: {Image name}
- Pt2di :: {Point or Origin of rectangle}
Named args :
- [Name=Sz] Pt2di :: {Size of rectangle (Def=[1,1])}
Output
- ZMoy : average grey (or first channel) value, or average altitude for depth map.
- Sigma
- ZMinMax : minimum and maximum grey values or altitudes.
Example
mm3d StatIm DSC_6217.TIF [0,0] Sz=[4288,2848]