Rechercher une page de manuel
ConvertImagePixelType
Langue: en
Version: June 2010 (ubuntu - 24/10/10)
Section: 1 (Commandes utilisateur)
Sommaire
NAME
ConvertImagePixelType - part of ANTS registration suiteSYNOPSIS
ConvertImagePixelType infile.nii out.ext TYPE-OPTIONDESCRIPTION
- ext is the extension you want, e.g. tif. TYPE-OPTION : TYPE
- 0
- : char
- 1
- : unsigned char
- 2
- : short
- 3
- : unsigned short
- 4
- : int
- 5
- : unsigned int
- Note that some pixel types are not supported by some image formats. e.g.
- int is not supported by jpg.
- You can easily extend this for other pixel types with a few lines of code and adding usage info. The image intensity will be scaled to the dynamic range of the pixel type. E.g. uchar => 0 (min), 255 (max).
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre