[Insight-users] image orientation and registration - itkImageMaskSpatialObject problem

Bill Lorensen bill.lorensen at gmail.com
Wed Feb 13 11:49:28 EST 2008


Peter,

I think you are correct that image orientation is not used in the spatial
object.

Please file a bug following the procedure in:
http://itk.org/Wiki/ITK_Procedure_for_Contributing_Bug_Fixes

Thanks,

Bill

On Feb 13, 2008 11:31 AM, Peter Roesch <Peter.Roesch at fh-augsburg.de> wrote:

> Hello,
>
> thanks a lot for including image orientation into the registration
> framework, this simplifies matters a lot for me.
>
> I have changed my application to use OrientedImage and found that
> results look fine if the complete image content is used.
> Unfortunately, problems arise as soon as I use an
> itkImageMaskSpatialObject for both fixed and moving images to
> exclude the background via thresholding. Mutual information
> complains that all points are outside of the image which results
> in an empty histogram. I have stored the masks and found the correct
> orientation in the mhd files.
>
> My current guess is that image orientation is not taken into
> account from the IsInside method of the itkImageMaskSpatialObject.
>
> Here is some additional information about the types used in the
> application:
>
> const unsigned int Dimension = 3;
> typedef float PixelType;
> typedef itk::OrientedImage< PixelType, Dimension > ImageType;
>
> typedef unsigned char MaskPixelType;
> typedef itk::OrientedImage< MaskPixelType, Dimension > BinaryImageType;
>
> typedef itk::BinaryThresholdImageFilter< ImageType, BinaryImageType >
>        ThresholdFilterType;
>
> typedef itk::ImageMaskSpatialObject< Dimension > MaskImageType;
>
>
> Greetings and thanks in advance
> Peter
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20080213/3f484eb9/attachment-0001.html


More information about the Insight-users mailing list