Commit Graph

3 Commits

Author SHA1 Message Date
emmanuelle dd9030d44c Implemented fast algorithm also for 3-D and 2D-RGB images. Changed API so
that there is only one function for fast and classic algorithms.
2015-01-18 22:18:29 +01:00
emmanuelle 2e91b0db95 Moved non-local means denoising to restoration submodule 2014-12-06 13:16:40 +01:00
Emmanuelle Gouillart a5ed4acf86 Some improvements of non-local means denoising:
- denoising RGB is now possible, and "colored patches" are then compared

- the main function is now in a pure Python file so that default values
  of kw arguments are visible in the help

- reduced the number of computations of patches bound (but this doesn't
  change much the total speed).

- added an example for the gallery

I also played with functions that could replace the exponential by a
faster and less precise function, but it turns out that most of the time
is spent in additions and multiplications when computing the distance
between two patches.
2014-12-06 12:00:47 +01:00