[Insight-users] Question on TransformInitializer

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 16 14:10:32 EDT 2010


Hi Gerald,

Are you using the VersorTransformIntializer with

              GeometryOn()    ?

or with

              MomentsOn()    ?


For the masking process to make sense,
you should use it with MomentsOn().

Note also that ITK has a Mask filter:

          itkMaskImageFilter


that you could use to mask your moving
image.


--

If you still have problems, please post
screenshots of the Fixed image and
Moving image, as well as the following
parameters for both images:

  A) Image Origin
  B) Image Size in pixels
  C) Image Spacing
  D) Image Direction ( direction cosines)



Regards,


     Luis


------------------------------------------
On Fri, Mar 12, 2010 at 5:30 AM, Lodron, Gerald
<Gerald.Lodron at joanneum.at> wrote:
>
> Hello
>
> I made a 3D registration of two CT data sets and use the Versor transform initializer and a image mask in my registration. The registration wroks in my most test data sets but now i want to improve the registration. I thought i could use the segmentation result also in the initializer but there is no SetMovingImageMask function in the initializer, so i first made the following: I multiplied the boolean image of the segmentation with the image before i give it to the initializer. The result of the initializer is very bad, the initial transformation transform the image so that no overlap appears. My second approach was to use the GetFixedCalculator() function of the initializer which gives me the moments calculator object back. The moments calculater has such a SetSpatialObjectMask function. The only problem is that the GetFixedCalculator() function returns a const pointer, using a const cast it compiles, but the result is the same as with multiplieing.
>
> Any suggestions/explanations why this does not work?
>
>
>
> _____________________________________
> 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