<div dir="ltr">Right! I wish we had something like that in VTK, it might be a very useful tool.<br><br>Prathamesh<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 3:11 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Mon, Jul 19, 2010 at 12:54 PM, Oleksandr Dzyubak <<a href="mailto:adzyubak@gmail.com">adzyubak@gmail.com</a>> wrote:<br>
> Hi Prathamesh,<br>
><br>
> You might find useful the contribution "Noise Simulation"<br>
> from Gaetan Lehmann on 03-18-2010.<br>
><br>
> <a href="http://www.midasjournal.org/browse/publication/721" target="_blank">http://www.midasjournal.org/browse/publication/721</a><br>
><br>
> As stated by the author:<br>
> "Several kind of noise can be found in real images, mostly depending on the<br>
> modality<br>
> of acquisition. It is often useful to be able to simulate that noise, for<br>
> example<br>
> to test the behavior of an algorithm in the presence of a known amount of<br>
> noise.<br>
><br>
> This contribution provides the filters to generate four kind of noise --<br>
> additive<br>
> gaussian, shot, speckle and salt and pepper -- as well as a PSNR<br>
> calculator."<br>
><br>
> I am using that contribution for my development and it works well for me so<br>
> far.<br>
><br>
> Alex<br>
><br>
><br>
> Prathamesh Kulkarni wrote:<br>
>><br>
>> Hello all,<br>
>><br>
>> I need to add different kinds of noise to a vtkImage. I have looked at<br>
>> vtkImageNoiseSource and vtkMath::Random().<br>
>><br>
>> Of these,<br>
>><br>
>> vtkImageNoiseSource only produces a uniform noise output - is there a way<br>
>> (already existing in vtk) to have a different underlying noise distribution?<br>
>><br>
>> vtkMath::Random produces a random number - what is the internal<br>
>> distribution used here?<br>
>><br>
>><br>
>> Apart from these, are there any other better ways to adding noise to<br>
>> vtkImages?<br>
>><br>
>><br>
>> Thanks in advance,<br>
>><br>
>><br>
>> Prathamesh<br>
>><br>
>><br>
>><br>
>> ------------------------------------------------------------------------<br>
>><br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the VTK FAQ at:<br>
>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</div></div>That is for ITK though, right?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br></div>