[Insight-users] Noise simulation
Oleksandr Dzyubak
adzyubak at gmail.com
Thu Mar 25 17:55:53 EDT 2010
Dear ITK users,
Did anybody tested the noise simulation codes from the submission
"Noise simulation" http://hdl.handle.net/10380/3158 ?
The most needed (for me at least) noise generators
(Gauss and salt and pepper)
produce corrupted images with periodic line patterns
(see attached images). To generate those images, I followed
the parameter recommendations taken from the submission.
./gauss cthead1.tif cthead1_gauss_s22_8_m0.png 22.8 0
./sp cthead1.tif cthead1_sp_0016.png 0.016
Did anybody get similar results?
Alex http://old.nabble.com/file/p28035473/cthead1_sp_0016.png
Oleksandr Dzyubak wrote:
>
> 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
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
http://old.nabble.com/file/p28035473/cthead1_gauss_s22_8_m0.png
--
View this message in context: http://old.nabble.com/Noise-simulation-tp27990624p28035473.html
Sent from the ITK - Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list