The aux_file field is not present when an image is loaded by slicer. As
a result the blobs appear in greyscale. Add the following line to
src/newimage/generalio.cc to fix, fsl-4.1.9:
at about line 150 in
template <class T>
int read_volumeROI(volume<T>& target, const string& filename,
volumeinfo& vinfo, short& dtype, bool read_img_data,
int x0, int y0, int z0, int x1, int y1, int z1,
bool swap2radiological)
after this line
FslCloneHeader(&vinfo,IP1);
Add
target.setAuxFile(vinfo.niftiptr->aux_file);
--
Dr Christopher Adamson, PhD (Melb.), B Software Engineering (Hons.,
Monash)
Research Officer
Developmental Imaging, Critical Care and Neurosciences
Murdoch Childrens Research Institute
The Royal Children’s Hospital
Flemington Road Parkville Victoria 3052 Australia
T 9906 6780
M XXXX XXX XXX
E [log in to unmask]
www.mcri.edu.au
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
|