[Insight-users] GetCenter() ?

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 27 17:04:41 EST 2007


Hi Tony,


Why do you need

      Origin
      Size
      Spacing

of the PointSet ?


These concepts do not apply to PointSets...

and you don't need them when doing PointSet
to Image registration.



    Regards,


       Luis


====================
tony hakki wrote:
> Dear Luis;
> one more question ,if you reply I will really happy. I try to implement 
> pointsettoimage registration. So How can I get  the origin,size,spacing 
> etc. of my pointset. It is ok for moving image,but what about the 
> pointset? when I write const OriginType pointsetOrigin = 
> PointSet->GetSpacing(); it says
> /Get spacing not member of  itk Pointset/ ( point set is defined like 
> that typedef itk::PointSet< float, Dimension > FixedPointSetType;)
> ----- Original Message ----
> From: Luis Ibanez <luis.ibanez at kitware.com>
> To: tony hakki <tony2007vtk at yahoo.com>
> Cc: insight-users at itk.org
> Sent: Tuesday, March 27, 2007 3:33:50 PM
> Subject: Re: [Insight-users] GetCenter() ?
> 
> Hi Tony,
> 
> Please read the ITK Software Guide:
> 
>     http://www.itk.org/ItkSoftwareGuide.pdf
> 
> There is a full section discussing the issue
> of Center of Rotation for Transforms in the
> context of image registration.
> 
> This is section: 8.6 "Centered Transforms".
> pdf-page 380.
> 
> To put it short:  The center of rotation is
> needed because in most image registration
> problems it is desirable to rotate around
> the center of the image extent and not
> around the center of the coordinate system
> origin.
> 
> You will find a related discussion in section 6.9.4
> "Resample Image Filter" in pdf-pages 254-285.
> 
> 
>     Regards,
> 
> 
>        Luis
> 
> 
> ----------------------
> tony hakki wrote:
>  > Hello;
>  >
>  > I have tried to implement point set to image registration
>  >
>  > What is the exact meaning of GetCenter(); in QuaternionRigidTransform
>  >
>  > ? When we write like that  
>  > finalTransform->SetCenter(finalTransform->GetCenter() ); What does 
> its mean?
>  >
>  > thank you
>  >
>  > Tony
>  >
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > _______________________________________________
>  > Insight-users mailing list
>  > Insight-users at itk.org
>  > http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> ------------------------------------------------------------------------
> Expecting? Get great news right away with email Auto-Check. 
> <http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html>
> Try the Yahoo! Mail Beta. 
> <http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html>


More information about the Insight-users mailing list