int main( int argc, char * argv[] )
{
if( argc < 4 )
{
std::cerr << "Usage: " << std::endl;
std::cerr << argv[0] << " inputImageFile outputVectorImageFile sigma" << std::endl;
return EXIT_FAILURE;
}
using InputPixelType = float;
using OutputComponentPixelType = float;
OutputComponentPixelType, Dimension >;
InputImageType, OutputImageType >;
ReaderType::Pointer reader = ReaderType::New();
reader->SetFileName( argv[1] );
FilterType::Pointer filter = FilterType::New();
filter->SetInput( reader->GetOutput() );
const double sigma = std::stod( argv[3] );
filter->SetSigma( sigma );
filter->Update();
WriterType::Pointer writer = WriterType::New();
writer->SetFileName( argv[2] );
writer->SetInput( filter->GetOutput() );
writer->Update();
return EXIT_SUCCESS;
}