[Insight-users] Noise simulation

Oleksandr Dzyubak adzyubak at gmail.com
Mon Mar 22 12:06:56 EDT 2010


Hi Gaëtan,

Nice and long awaited work.
I found a tiny typo in your code that prevents the submitted codes from 
being compiled.
At least on my Linux box. The typo is sitting in your median.cxx and the 
fix is below.

// Part that gives the errors.
/*
  FilterType::RadiusType r;
  r.Fill(2);
//  filter->SetRadius(r);
 */

  //  this fix solves the problem.
  IType::SizeType r;
  r[0] = 1;
  r[1] = 1;
  filter->SetRadius(r);

Could you please add the fix and upload the code?

Thanks,
Alex



More information about the Insight-users mailing list