[MINC-users] inf values in MINC files

Soren Christensen sorench at gmail.com
Thu Jul 31 02:07:18 EDT 2008


Hi Andrew,
 That seems to not find the infs. Just get an all 0 image.
If you use EMMA and read into matlab, and imagesc(isinf(imagedata))
correctly shows the inf voxels.

Cheers
Soren

On Thu, Jul 31, 2008 at 3:57 PM, Andrew Janke <a.janke at gmail.com> wrote:

> Hi Soren,
>
> Without checking I think what you want is:
>
>  mincmath -isnan  fred.mnc infmask.mnc
>
> a
>
>
> On Thu, Jul 31, 2008 at 15:49, Soren Christensen <sorench at gmail.com>
> wrote:
> > Hi,
> >  I have some parameter maps that may contain 'inf' values. I noticed they
> > fail to render in Display and thought of writing a wrapper that replaces
> inf
> > with the highest non-inf value in the dataset - just for display
> purposes. I
> > wanted to use mincstats -max   to determine presence of infs, but it does
> > not  identify  inf as the max  value - is there another way to tease out
> > these inf voxels?
> > Should mincmath handle infs?   I don't seem to be able to find them using
> > -eq inf either.
> >
> > Cheers
> > Soren
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> >
>
>
>
> --
> Andrew Janke (a.janke at gmail.com || http://a.janke.googlepages.com/)
> Canberra->Australia +61 (402) 700 883
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list