Usage #1: 3dThreetoRGB [options] dataset Usage #2: 3dThreetoRGB [options] dataset1 dataset2 dataset3
Converts 3 sub-bricks of input to an RGB-valued dataset. * If you have 1 input dataset, then sub-bricks [0..2] are
used to form the RGB components of the output.
each is used to form the RGB components, respectively.
from 0..255.
Options:
- -prefix ppp = Write output into dataset with prefix ‘ppp’.
- [default=’rgb’]
- -scale fac = Multiply input values by ‘fac’ before using
- as RGB [default=1]. If you have floating point inputs in range 0..1, then using ‘-scale 255’ would make a lot of sense.
- -mask mset = Only output nonzero values where the mask
- dataset ‘mset’ is nonzero.
- -fim = Write result as a ‘fim’ type dataset.
- [this is the default]
-anat = Write result as a anatomical type dataset.
Notes: * Input datasets must be byte-, short-, or float-valued. * You might calculate the component datasets using 3dcalc. * You can also create RGB-valued datasets in to3d, using
2D raw PPM image files as input, or the 3Dr: format.
3 bytes are zero - that is, it won’t overlay solid black.
About the only thing you can do is display them in 2D slice windows in AFNI.
– RWCox - April 2002
++ Compile date = Dec 16 2015
Enter search terms or a module, class or function name.