|
From: | Sivahari Nandakumar |
Subject: | Re: Not getting Poisson Noise in octave |
Date: | Sun, 2 Dec 2012 14:13:31 +0530 |
according to what I see in matlabs imnoise docs you could try something like:
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?
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.
[Prev in Thread] | Current Thread | [Next in Thread] |