[Insight-users] Question on the Examples/Segmentation/DeformableModel1.cxx

Yang, Jinzhong jinzhong76 at gmail.com
Fri Feb 17 15:33:18 EST 2012


Hi All,

 

I had a question when I browsed the example in / Examples / Segmentation /
DeformableModel1.cxx.

In Line 568 to convert the deformed mesh to a binary image for writing out,
the input set to the meshFilter is

meshFilter->SetInput(meshSource->GetOutput());

 

I think it should be 

meshFilter->SetInput(deformableModelFilter->GetOutput());

 

meshSource->GetOutput() is the original input mesh.

 

Did I get it right? Please advise.

 

Thank you,

Jinzhong

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120217/72daf744/attachment.htm>


More information about the Insight-users mailing list