<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">&lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>&gt;</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 &lt;<a href="mailto:adzyubak@gmail.com">adzyubak@gmail.com</a>&gt; wrote:<br>

&gt; Hi Prathamesh,<br>
&gt;<br>
&gt; You might find useful the contribution &quot;Noise Simulation&quot;<br>
&gt; from Gaetan Lehmann on 03-18-2010.<br>
&gt;<br>
&gt; <a href="http://www.midasjournal.org/browse/publication/721" target="_blank">http://www.midasjournal.org/browse/publication/721</a><br>
&gt;<br>
&gt; As stated by the author:<br>
&gt; &quot;Several kind of noise can be found in real images, mostly depending on the<br>
&gt; modality<br>
&gt; of acquisition. It is often useful to be able to simulate that noise, for<br>
&gt; example<br>
&gt; to test the behavior of an algorithm in the presence of a known amount of<br>
&gt; noise.<br>
&gt;<br>
&gt; This contribution provides the filters to generate four kind of noise --<br>
&gt; additive<br>
&gt; gaussian, shot, speckle and salt and pepper -- as well as a PSNR<br>
&gt; calculator.&quot;<br>
&gt;<br>
&gt; I am using that contribution for my development and it works well for me so<br>
&gt; far.<br>
&gt;<br>
&gt; Alex<br>
&gt;<br>
&gt;<br>
&gt; Prathamesh Kulkarni wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello all,<br>
&gt;&gt;<br>
&gt;&gt; I need to add different kinds of noise to a vtkImage. I have looked at<br>
&gt;&gt; vtkImageNoiseSource and vtkMath::Random().<br>
&gt;&gt;<br>
&gt;&gt; Of these,<br>
&gt;&gt;<br>
&gt;&gt; vtkImageNoiseSource only produces a uniform noise output - is there a way<br>
&gt;&gt; (already existing in vtk) to have a different underlying noise distribution?<br>
&gt;&gt;<br>
&gt;&gt; vtkMath::Random produces a random number - what is the internal<br>
&gt;&gt; distribution used here?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Apart from these, are there any other better ways to adding noise to<br>
&gt;&gt; vtkImages?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Prathamesh<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <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>