[ITK] meaning of negative spacing

Zein Salah zeinsalah at gmail.com
Mon Oct 24 11:12:49 EDT 2016


Hi Dženan,

thanks for the response.

but I still wonder what does this mean. The reason for the question is:

The input image is a multiframe dicom, in which the image position
patient (0020, 0032)
is stored in the header for every frame. and these values are having
decreasing values
in the z-coordinate. So I am asking myself

1. if the itkimagereader considers this when it reconstructs the 3D volume?

2. if this is the reason for negative z-spacing? if this is the case,
I can this to
interpret the meaning of the z-spacing.




2016-10-24 16:55 GMT+02:00 Dženan Zukić <dzenanz at gmail.com>:
> Hi Zein,
>
> I suppose you could invert the 3rd row (Z component) of the TransformMatrix
> and have the spacing positive. It should have the same effect and is more
> logical.
>
> Regards,
> Dženan
>
> On Mon, Oct 24, 2016 at 8:50 AM, Zein Salah <zeinsalah at gmail.com> wrote:
>>
>> Hi,
>>
>> I have a question regarding reading dicom files with itk,
>> particularly, multiframe dicom file (all slices in one single file).
>>
>> I have read an image with itk 4.10 and write it into an mhd-raw image.
>> I noticed that the z-spacin is negative.
>> What does negative spacing mean?
>>
>> thanks,
>> Zein
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/mailman/listinfo/community
>
>


More information about the Community mailing list