[Insight-users] Re: Deformable Model

Charl P. Botha cpbotha at gmail.com
Wed Aug 25 18:00:08 EDT 2004


On Wed, 25 Aug 2004 14:50:25 -0700 (PDT), uday kurkure
<udaykurkure at yahoo.com> wrote:
> But I get exception handling error in the step:
> "gradientMapFilter->Update();"

Add a try ... catch block around the Update() statement generating the
exception, e.g.:

try 
   {
   gradientMapFilter->Update();
   }
catch( itk::ExceptionObject &e)
  {
   std::cerr << "Caught exception: " << e << std::endl;
  }

This should give you more information about what exactly has gone
wrong with your program.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/


More information about the Insight-users mailing list