[Insight-users] Actually implementing a Gabor filter
Nick Tustison
ntustison at wustl.edu
Wed Jun 23 09:26:11 EDT 2010
The following is one problem:
std::cout << "Performing Convolution ... Starting" << std::endl;
> typedef itk::ConvolutionImageFilter< ImageType > ConvolutionFilterType;
> ConvolutionFilterType::Pointer Convoluter;
> Convoluter->SetInput( itkChipImg );
> Convoluter->SetImageKernelInput( GaborKernelImage->GetOutput() );
> Convoluter->NormalizeOn();
> Convoluter->Update();
> std::cout << "Performing Convolution ... Completed" << std::endl;
>
>
Instead of
ConvolutionFilterType::Pointer Convoluter;
you should have
ConvolutionFilterType::Pointer Convoluter = ConvolutionFilterType::New();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100623/d8b26ce7/attachment.htm>
More information about the Insight-users
mailing list