[Insight-users] scale of a pixel

Bill Lorensen bill.lorensen at gmail.com
Wed Sep 9 11:01:29 EDT 2009


For Method(A) and (B), be sure to do reader->Update() before you
request the output.

On Wed, Sep 9, 2009 at 10:56 AM, Luis Ibanez<luis.ibanez at kitware.com> wrote:
>
> Hi Raquel,
>
>
> In oder to find the pixel spacing of a DICOM image
> you can use:
>
>
> Method (A): Load the image and call: reader->GetOutput()->Print(std::cout);
>
> Method (B): Load the image and call:
>          std::cout << reader->GetOutput()->GetSpacing() << std::endl;
>
> Method (C): Use the example:
>         Insight/Examples/IO/DicomImageReadPrintTags.cxx
>         and grep for
>         (0028|0030) Pixel Spacing
>
>         you should see something like:
>         (0028|0030) Pixel Spacing = 0.93359375\0.93359375
>         (which are the spacing in X and Y)
>
>
> Method (D): Use VV (http://www.creatis.insa-lyon.fr/rio/vv)
>         load the image and look at the image information
>
> Method (E): Use Slicer (www.slicer.org) load the image and
>         look at the image information
>
> Method (F): Use MRIConvert :
>        http://lcni.uoregon.edu/~jolinda/MRIConvert/
>        load one slice and look at the DICOM tags, just as with
>        method (C).
>
>
>    Regards,
>
>
>          Luis
>
> --------------------------------------------------------------------------------------
> On Fri, Sep 4, 2009 at 12:48 PM, Raquel Itk <raquelitk at gmail.com> wrote:
>>
>> Hi,
>>
>> First of all, tanks a lot because you helped me in a lot of situations
>> during my project. Now, I have a new doubt. I work with image CT in DICOM
>> format, I'll find holes with an area of a 25-mm, so I want to know which is
>> a scale of pixels in my image. I suppose that information is in the header
>> DICOM but I don't know how I could find. Any suggestions?
>>
>> Thanks a lot
>>
>> Raquel
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list