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: Carnë Draug
Subject: Re: Not getting Poisson Noise in octave
Date: Mon, 3 Dec 2012 01:17:48 +0100

On 3 December 2012 01:02, Terry Duell <address@hidden> wrote:
> I don't think I have the foggiest idea of how one would go about doing that,
> meaning where the above would fit into the scheme of things in imnoise, and
> how to make a patch.

The easiest method is to open the imnoise.m file, put the code in the
switch block and then upload the file to the bug tracker. Dead easy,
and it's all written in the own Octave language that we all already
know. Take a look at
https://sourceforge.net/p/octave/code/11403/tree/trunk/octave-forge/main/image/inst/imnoise.m
The switch block is on line 57, and there's a case for gaussian, salt
and pepper, and speckle. It's just a matter of adding one for poisson.

Carnë


reply via email to

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