[ITK-users] How to use smart pointer in WrapITK?

Nick Cullen via Insight-users <[email protected]>
Newsgroups gmane.comp.lib.itk.user
Message-ID <[email protected]>
When I run itk.N4BiasFieldCorrectionImageFilter, I want to get the control point lattice, but when I run:
correcter.GetLogBiasFieldControlPointLattice()

It returns a SmartPointer: <Swig Object of type 'itk::SmartPointer< itk::Image< itk::Vector< float,1 >,2 > > *' at 0x15e775300>
Can I get the actual image from this in WrapITK? Is this happening because I haven't wrapped another class - specifically itk::BSplineScatteredDataPointSetToImageFilter, which is where the LogBiasFieldControlPointLattice comes from?
Thanks!!

_____________________________________
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.php

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://public.kitware.com/mailman/listinfo/insight-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.