Name
info - print basic information and statistical characteristics of an image input
Usage
- [s = ] info(image [,mask])
or
- [s = ] info("path/image" [,mask])
or
- [ave, std, xmin, xmax, nx, ny, nz =] info(image [,mask])
Input
- image
- input image (real or Fourier); or "path/image" directory/disk image file name
- mask
optional image mask. Image characteristics will be calculated only for pixels of mask that have value >0.5. Note: mask has to have the same dimensions as the input image.
Output
- Prints to the standard output the following information:
- Image type (Real or Fourier), nx, ny, nz
- average, standard deviation, minimum, maximum
- output
- s - optional list containing
- s[0] - average,
- s[1] - standard deviation,
- s[2] - minimum,
- s[3] - maximum,
- s[4] - nx,
- s[5] - ny,
- s[6] - nz
Author / Maintainer
Pawel A. Penczek
Keywords
- category 1
- UTILITIES
- category 2
- FOURIER, SPATIAL
Files
utilities.py
Maturity
- stable
- works for most people, has been tested; test cases/examples available.
Bugs
None. It is perfect.