StatIm : Différence entre versions
De MicMac
(Page creation.) |
(Description added.) |
||
| Ligne 1 : | Ligne 1 : | ||
[[Image:picto-liste.png|25px]] [[Command|List of commands]] | [[Image:picto-liste.png|25px]] [[Command|List of commands]] | ||
==Description== | ==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=== | ===Syntax=== | ||
The global syntax for StatIm is<br> | The global syntax for StatIm is<br> | ||
| Ligne 19 : | Ligne 21 : | ||
===Output=== | ===Output=== | ||
| − | * ZMoy : average grey (or first channel) value | + | * ZMoy : average grey (or first channel) value, or average altitude for depth map. |
* Sigma | * Sigma | ||
| − | * ZMinMax : minimum and maximum grey values | + | * ZMinMax : minimum and maximum grey values or altitudes. |
| − | + | ==Example== | |
<pre>mm3d StatIm DSC_6217.TIF [0,0] Sz=[4288,2848]</pre> | <pre>mm3d StatIm DSC_6217.TIF [0,0] Sz=[4288,2848]</pre> | ||
Version actuelle en date du 18 février 2017 à 09:20
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]