[Insight-users] Problem with AntiAliasBInaryImageFilter
maillist_xx at sina.com
maillist_xx at sina.com
Sun Sep 26 10:12:52 EDT 2010
hi,all
I got a problem when I try to use itk::AntiAliasBinaryImageFilter to process the 3D image and VtkMarchingCubes to visualise it,
but the output of filter is nothing.I have no idea why the size of output is 0,here is part of my code:
typedef float IoPixelType; typedef itk::Image< IoPixelType, 3 > IoImageType_3D;
typedef itk::AntiAliasBinaryImageFilter<IoImageType_3D,IoImageType_3D> AntiAliasFilterType;
AntiAliasFilterType::Pointer antialias = AntiAliasFilterType::New();
antialias->SetInput(inputimage);
antialias->SetMaximumRMSError(0.01);
antialias->SetNumberOfIterations(50);
antialias->SetNumberOfLayers( 2 );
DistanceField_s = antialias->GetOutput();
any advice will be appreciated.
XuXing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100926/27dba855/attachment.htm>
More information about the Insight-users
mailing list