help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not getting Poisson Noise in octave


From: c.
Subject: Re: Not getting Poisson Noise in octave
Date: Sun, 2 Dec 2012 08:53:41 +0100

On 2 Dec 2012, at 06:13, Sivahari Nandakumar wrote:

> Hi all,
> 
> I am not getting imnoise(j,'poisson') in octave. My friends have it in 
> Matlab. Is there any alternative for it in Octave?

according to what I see in matlabs imnoise docs you could try something like:

aa = imread ("someimage.jpg");
bb = uint8 (arrayfun (@poissrnd, aa));
subplot (1, 2, 1)
imshow (aa)
subplot (1, 2, 2)
imshow (bb)

beware, it may take some time ...

HTH,
c.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]