Download InfoPACK User Guide. Version 2.2

Transcript
B.4. I MAGE I NFORMATION ROUTINES
Python Procedure
None provided.
Parameters
nbins integer, default 100. The number of data bins used to store the results.
layer integer, default None. If specified, select this layer from the input image.
sd float, default 2. The number of bins is spread over the interval [µ − sd × σ, µ + sd × σ] where µ
and σ are the mean and standard deviation of the data respectively. Any data values falling outside
this range are placed into the bin with either the lowest or highest data values, as appropriate.
min float, default None. If specified, this sets the minimum histogram bin.
max float, default None. If specified, this sets the maximum histogram bin.
norm float, default None. If this parameter is specified, normalize the area under the histogram to
this value.
cmpl2real string, default "abs". Chooses from a set of methods for converting the complex
image to a real one:
“abs” absolute value.
“mag” magnitude of complex number (= abs × abs).
“phase” Phase of complex number.
“real” Real part.
“imag” Imaginary part.
B.4.4
histogram
Purpose
Provides a graphical display of the data distribution of a given image file. For multi-dimensional
images, the histograms for individual layers can be viewed separately.
Command Line Script
histogram.py image in [nbins=] [sdrange=] [norm=]
Python Procedure
None provided.
29 Mar 10
NASoftware Ltd
181