[Insight-users] Registration good so far

Luis Ibanez luis.ibanez at kitware.com
Fri Jul 23 14:54:43 EDT 2004


Hi Robert,

1) ITK offers the functionality of defining Masks on
    both the Fixed and Moving images.  These masks can
    be completely irregular because they are defined in
    the form of SpatialObjects.

    You will find an example on the use of Masks for
    Image Registration into

         Insight/Examples/Registration/
                     ImageRegistration12.cxx


2) If your interest for restricting the registration
    to a small region is to avoid having to load the
    entire image into memory... then the Masks will not
    really help you. The masks still require that you
    load the full Fixed and Moving images, they simply
    exclude the contributions of pixels outside the masks
    when the Image Metrics are computed.


3) For registering against sections of large images
    you should load them, then use the RegionOfInterest
    ImageFilter in order to extract a subregion, and
    finally delete the reader in order to release the
    memory of the image read.


Please let us know if you have further questions,



     Thanks


      Luis



------------------------
Atwood, Robert C wrote:

> My image registration works pretty well so far, Thanks Luis!
> 
> Which leads me to a question
> 
> I have read through not only the manual but the doxygen class
> documentation, and it seems that although you can set a restricted
> region-of-interest for the fixed image, there is not a similar function
> for the moving image. Am I correct? I was wanting to select a small
> target in each image , where the whole images are too big, and register
> just that bit (as an alternative/adjunct to reduced resolution
> registration) 
> 
> The files appear too big to do un-reduced registration of the whole
> image anyways, at least on any computer I have access to just now.
> 
> Thanks
> Robert
> 
> 
> 
> 
> 
> 
>                                      void 
>                                          SetFixedImageRegion (const
> FixedImageRegionType &region)
>          virtual const FixedImageRegionType & 
>                                          GetFixedImageRegion ()
>                                 virtual bool 
>                                          GetFixedImageRegionDefined ()
>                                 virtual void 
>                                          SetFixedImageRegionDefined
> (bool _arg)
>                                 virtual void 
>                                          Initialize () throw
> (ExceptionObject)
>                
>  
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 





More information about the Insight-users mailing list