Thank you for my question...
I try to convert data type..
I have 32-bit real data...
(i acquired ANALYZE format 'img type' using the '3dAFNItoANALYZE'. So i wonder i have 32-bit real data...I confirm data type using the MRIcro program.)
I try like.....
first....
3dcalc -a input_file_name -expr a -datum short -fscale -prefix out_file_name
second, I acquired out_file_name (*.brik,*.head)
So.... next procedure is skull stripping.
I try like..
3dIntracranial -anat out_file_name.head -mask -prefix stripped
I use also "3dAFNItoANALYZE" and i acquired 16bit-int type data.
But I can't any brain image..
What is problem?
rick reynolds wrote:
> The error states that you need to have a short integer
> dataset in order to run 3dIntracranial. So what type of
> dataset do you have? The output of 3dinfo might be
> helpful.
>
> I'll guess that you have a float-type dataset, and you
> just need to convert it to short to use 3dIntracranial.
> If so, try something like:
>
> 3dcalc -a input_dset+orig -expr a -datum short -fscale
> -prefix output_dset
>
> - rick
>
>