Hello,
I am running the rebuild_gca_atlas.csh program and got the following error for seg_edited.mgz, which is the manually defined file imported from a different program outside of freesurfer.
mri_ca_train: segmentation file <path>/seg_edited.mgz is not type UCHAR or FLOAT
Is there a way to redefine the data structure?
Anthony
You can do it with mri_convert mri_convert seg_edited.mgz seg_edited.mgz -odt uchar --no_scale 1 Note that your segmentation ids should all be between 0 and 255 doug
On 04/12/2012 11:49 AM, Anthony Dick wrote:
Hello,
I am running the rebuild_gca_atlas.csh program and got the following error for seg_edited.mgz, which is the manually defined file imported from a different program outside of freesurfer.
mri_ca_train: segmentation file<path>/seg_edited.mgz is not type UCHAR or FLOAT
Is there a way to redefine the data structure?
Anthony
or change it to float if they are bigger than 255 On Thu, 12 Apr 2012, Douglas N Greve wrote:
You can do it with mri_convert mri_convert seg_edited.mgz seg_edited.mgz -odt uchar --no_scale 1 Note that your segmentation ids should all be between 0 and 255 doug
On 04/12/2012 11:49 AM, Anthony Dick wrote:
Hello,
I am running the rebuild_gca_atlas.csh program and got the following error for seg_edited.mgz, which is the manually defined file imported from a different program outside of freesurfer.
mri_ca_train: segmentation file<path>/seg_edited.mgz is not type UCHAR or FLOAT
Is there a way to redefine the data structure?
Anthony
freesurfer@nmr.mgh.harvard.edu