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.