matlab niftiinfo output request

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

matlab niftiinfo output request

JohnD
Can someone with matlab and the image toolkit provide the output that would
be displayed from

a = niftiinfo('ATestReferenceImageForReadingAndWriting')


using the nifty format file available here:
https://nifti.nimh.nih.gov/pub/dist/src/Testing/Data/ATestReferenceImageForR
eadingAndWriting.nii.gz


JohnD


Reply | Threaded
Open this post in threaded view
|

Re: matlab niftiinfo output request

Alois Schloegl-7
On 11/5/19 4:34 PM, JohnD wrote:

> Can someone with matlab and the image toolkit provide the output that would
> be displayed from
>
> a = niftiinfo('ATestReferenceImageForReadingAndWriting')
>
>
> using the nifty format file available here:
> https://nifti.nimh.nih.gov/pub/dist/src/Testing/Data/ATestReferenceImageForR
> eadingAndWriting.nii.gz
>
>
> JohnD
>
>
The output with R2019b is


 
>> a = niftiinfo('ATestReferenceImageForReadingAndWriting')

a =

  struct with fields:

                 Filename:
'/tmp/ATestReferenceImageForReadingAndWriting.nii.gz'
              Filemoddate: '19-Nov-2018 16:16:39'
                 Filesize: 181710
                  Version: 'NIfTI1'
              Description: 'This is a very long dialog here to use up
more than 80 characters of space to t'
                ImageSize: [23 17 11 7 3]
          PixelDimensions: [0.2500 0.5000 1 2 4]
                 Datatype: 'int32'
             BitsPerPixel: 32
               SpaceUnits: 'Unknown'
                TimeUnits: 'None'
           AdditiveOffset: 128
    MultiplicativeScaling: 0.2500
                   Intent: 'Estimate'
        IntentDescription: 'PHANTOM_DATA to'
             IntentParams: [10101010 987654336 -1234]
               TimeOffset: 0
                SliceCode: 'Unknown'
       FrequencyDimension: 0
           PhaseDimension: 0
         SpatialDimension: 0
    DisplayIntensityRange: [0 0]
            TransformName: 'Sform'
                Transform: [1x1 affine3d]
                  Qfactor: -1
                      raw: [1x1 struct]


the whole structure a is stored in the attached file .


Cheers,

 Alois

Reply | Threaded
Open this post in threaded view
|

RE: matlab niftiinfo output request

JohnD


> -----Original Message-----
> From: Alois Schlögl [mailto:[hidden email]]
> Sent: Tuesday, November 05, 2019 10:43 AM
> To: [hidden email]; [hidden email]
> Subject: Re: matlab niftiinfo output request
>
> On 11/5/19 4:34 PM, JohnD wrote:
> > Can someone with matlab and the image toolkit provide the output that
> would
> > be displayed from
> >
> > a = niftiinfo('ATestReferenceImageForReadingAndWriting')
> >
> >
> > using the nifty format file available here:
> >
> https://nifti.nimh.nih.gov/pub/dist/src/Testing/Data/ATestReferenceImageForR
> > eadingAndWriting.nii.gz
> >
> >
> > JohnD
> >
> >
>
> The output with R2019b is
>
>
>
> >> a = niftiinfo('ATestReferenceImageForReadingAndWriting')
>
> a =
>
>   struct with fields:
>
>                  Filename:
> '/tmp/ATestReferenceImageForReadingAndWriting.nii.gz'
>               Filemoddate: '19-Nov-2018 16:16:39'
>                  Filesize: 181710
>                   Version: 'NIfTI1'
>               Description: 'This is a very long dialog here to use up
> more than 80 characters of space to t'
>                 ImageSize: [23 17 11 7 3]
>           PixelDimensions: [0.2500 0.5000 1 2 4]
>                  Datatype: 'int32'
>              BitsPerPixel: 32
>                SpaceUnits: 'Unknown'
>                 TimeUnits: 'None'
>            AdditiveOffset: 128
>     MultiplicativeScaling: 0.2500
>                    Intent: 'Estimate'
>         IntentDescription: 'PHANTOM_DATA to'
>              IntentParams: [10101010 987654336 -1234]
>                TimeOffset: 0
>                 SliceCode: 'Unknown'
>        FrequencyDimension: 0
>            PhaseDimension: 0
>          SpatialDimension: 0
>     DisplayIntensityRange: [0 0]
>             TransformName: 'Sform'
>                 Transform: [1x1 affine3d]
>                   Qfactor: -1
>                       raw: [1x1 struct]
>
>
> the whole structure a is stored in the attached file .
>
>
> Cheers,
>
>  Alois


Thanks!