[Insight-users] Image Directions

Bill Lorensen bill.lorensen at gmail.com
Thu Apr 14 16:53:24 EDT 2011


The filters should work properly with the directions. If not it is a bug.

I assume you are using a recent ITK release.

Also, please keep the discussion on the list.

Bill

On Thu, Apr 14, 2011 at 4:50 PM, Neil Panjwani <paniwani at gmail.com> wrote:
> Okay I'll try to avoid reorienting.
> Just one question. When allocating new images from scratch, do I have to set
> their directions to the input image direction in order for everything to
> work properly? I recall having a problem with the direction of the gradient
> because of this...
>
> On Thu, Apr 14, 2011 at 4:47 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> Usually, the scans are landmarked in the clinic in a consistent way.
>>
>> On Thu, Apr 14, 2011 at 4:45 PM, Neil Panjwani <paniwani at gmail.com> wrote:
>> > But how do I ensure that the lung is always close to z=0? Is there a
>> > default
>> > dicom orientation?
>> >
>> > On Thu, Apr 14, 2011 at 4:40 PM, Bill Lorensen <bill.lorensen at gmail.com>
>> > wrote:
>> >>
>> >> I would not use ITK_COORDINATE_ORIENTATION_LAI nor the orient image
>> >> filter. ITK operations on image should properly treat the dicom image
>> >> direction.
>> >>
>> >> On Thu, Apr 14, 2011 at 4:33 PM, paniwani <paniwani at gmail.com> wrote:
>> >> > I have a few questions about orienting images. I have several CT
>> >> > datasets
>> >> > both prone and supine. In order to do some colon segmentation I
>> >> > reorient
>> >> > so
>> >> > that the lung is closest to slice 0 and the spine is at the top of
>> >> > the
>> >> > image. This is done using the orient image filter in ITK with the
>> >> > ITK_COORDINATE_ORIENTATION_LAI code.
>> >> >
>> >> > Does changing this orientation directly change the image direction
>> >> > cosines?
>> >> > Are spatial orientation codes and direction cosines just two ways of
>> >> > saying
>> >> > the same thing?
>> >> >
>> >> > If after orienting the image in this way, I want to allocate new
>> >> > helper
>> >> > images, should I set their directions to the input's direction? Is
>> >> > the
>> >> > default image direction of an allocated image the identity matrix?
>> >> >
>> >> > Thanks in advance.
>> >> >
>> >> > Neil
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >> > http://itk-insight-users.2283740.n2.nabble.com/Image-Directions-tp6274289p6274289.html
>> >> > Sent from the ITK Insight Users mailing list archive at Nabble.com.
>> >> > _____________________________________
>> >> > Powered by www.kitware.com
>> >> >
>> >> > Visit other Kitware open-source projects at
>> >> > http://www.kitware.com/opensource/opensource.html
>> >> >
>> >> > Kitware offers ITK Training Courses, for more information visit:
>> >> > http://www.kitware.com/products/protraining.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