<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>hello ,</DIV>
<DIV>I need realll an urgent answer about registraion. I have tried to make registration,for that application I have tried to modify itkPointSetToImageRegistrationTest_1.cxx. I have my own image and my own point set (thay are 3D). My problem is : I don't know how to set FixedPointSet .</DIV>
<DIV>at that code "itkPointSetToImageRegistrationTest_1.cxx" it is created . I just want to integrate my own pointset?</DIV>
<DIV>when I write like following ,it gives errors</DIV>
<DIV> </DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>.<FONT color=#0000ff>
<P>typedef</FONT> itk::<FONT color=#ff0000>PointSet</FONT>< <FONT color=#0000ff>float</FONT>, Dimension > FixedPointSetType;</P>
<P><FONT color=#0000ff>typedef</FONT> itk::Image< PixelType, Dimension > MovingImageType;</P>
<P><FONT color=#0000ff>typedef</FONT> itk::ImageFileReader< MovingImageType > MovingImageReaderType;</P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>.</FONT></P>
<P><FONT size=2>.</FONT></P>
<P><FONT size=2>.</FONT></P>
<P>.</P>
<P>registrationMethod->SetMetric( metric );</P>
<P>registrationMethod->SetOptimizer( optimizer );</P>
<P>registrationMethod->SetTransform( transform );</P>
<P>registrationMethod-><FONT color=#ff0000>SetFixedPointSet</FONT>(mesh.GetPointer()); <FONT color=#ff0000 size=4>//mesh is output of my pointset</FONT></P>
<P>registrationMethod->SetMovingImage(rawreader->GetOutput());</P>
<P>registrationMethod->SetInterpolator(interpolator);</P>
<P> </P>
<P>I Hope somebody will help me, really need it.</P>
<P>Tony</P></DIV></div><br>
<hr size=1>Need a quick answer? Get one in minutes from people who know. Ask your question on
<a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a>.</body></html>