Commit Graph
3985 Commits
Author SHA1 Message Date
emmanuelle 2e0b37b11d Changed variable names for coordinates for better consistency with
skimage conventions. Moved some code to inline functions to improve
clarity.
2015-01-25 19:21:23 +01:00
emmanuelle e83873d563 Removed blank lines in docstring 2015-01-25 16:42:39 +01:00
emmanuelle 065bc18253 Merged 2D and 2D RGB functions for non-local means denoising 2015-01-25 16:40:07 +01:00
emmanuelle fa13744d59 Changed API of nl_means_denoising function to have a multichannel flag 2015-01-25 11:49:45 +01:00
emmanuelle ec6aa2a017 Added docstring to helper functions in cython submodule 2015-01-25 11:49:07 +01:00
emmanuelle 60d0c81aed Changed type of error returned for image dimension strictly greater than 3. 2015-01-20 22:11:24 +01:00
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 8b9a777c79 Bug correction: I had forgotten to add __init__.py 2015-01-11 22:37:42 +01:00
emmanuelle c5e38dc5b1 Renamed module, since tests were breaking because module and function
had the same name.
2015-01-10 19:11:15 +01:00
emmanuelle ecaa959195 Implemented asymmetric distance computation to save speed factor of 2 2015-01-10 16:40:43 +01:00
emmanuelle 1d8e02bf38 Removed normalization of h parameters because float images will be
normalized anyway.
2015-01-10 12:15:26 +01:00
emmanuelle 4004f048ef Faster version of non-local means denoising for 2D greyscale images 2014-12-07 12:02:05 +01:00
emmanuelle e26f9028eb Modified import to be compatible with Python 3 2014-12-06 13:58:09 +01:00
emmanuelle ecae7843e9 Removed test file that has been moved to restoration submodule 2014-12-06 13:46:13 +01:00
emmanuelle 2e91b0db95 Moved non-local means denoising to restoration submodule 2014-12-06 13:16:40 +01:00
Emmanuelle Gouillart 5f89395fcd Modified indentation in places (PEP8) 2014-12-06 12:00:47 +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
Emmanuelle Gouillart a508ec54ca 2-D and 3-D implementation of NL-means denoising 2014-12-06 11:58:27 +01:00
Stefan van der Walt 3f719df9a3 Merge pull request #1250 from emmanuelle/seealso
Docstring updates in `exposure` module
2014-12-05 01:00:46 +02:00
emmanuelle f9b10c58ad Corrected another bug that made doctest fail 2014-12-04 22:39:42 +01:00
Stefan van der Walt 36aa4cdb6f Merge pull request #1254 from matejak/label3d
Refactor labeling and extend to 3D
2014-12-04 12:31:29 +02:00
Stefan van der Walt b9a71663af Merge pull request #1247 from emmanuelle/gallery_edges
Add a second example to the edge filtering gallery example
2014-12-03 19:28:04 +02:00
Jacopo 77a78a287c Updated docs for regionprops to reflect the dropping of regions with label value 0 2014-12-03 11:09:46 +10:00
Matěj Týč c6ebe6c661 Removed negative connectivity support as requested 2014-12-02 22:34:04 +01:00
emmanuelle 5553ea44b3 Corrected typos + modified docstring that made doctest fail 2014-12-02 22:10:30 +01:00
emmanuelle 2636abba92 Small additions to some docstrings in exposure module 2014-12-01 23:32:21 +01:00
emmanuelle d78c9aab08 Completed docstrings for the different edge filters. 2014-12-01 22:22:07 +01:00
Juan Nunez-Iglesias 6c444490e3 Merge pull request #1243 from emmanuelle/filters_rank
Added an import of `median` from the `filters` module
2014-12-01 12:15:22 +11:00
Ivana Kajić 98f41fb12b More detailed docu. Modified examples.
Added doctest skipping of matplotlib's commands.
2014-11-30 18:15:27 +00:00
emmanuelle b730777a74 Modified test for median filter import 2014-11-30 14:58:10 +01:00
emmanuelle bea0c1b7d1 Added an import of median from the filters module
(it's `filters.rank.median`, but it is convenient to have the very common
median filter in `filters` as well)
2014-11-29 14:34:09 +01:00
Ivana Kajić 2c830a34e2 Updated Return section. 2014-11-28 16:09:48 +00:00
Ivana Kajić e5cd943bc3 Added examples for Gabor filters. 2014-11-28 16:09:48 +00:00
Ivana Kajić 414e9ec19c Added docu for gabor_filter. n_stds added to the parameter list. 2014-11-28 16:09:48 +00:00
Matěj Týč e41bff898a Added fix for the strange input array shapes + tests 2014-11-28 16:45:52 +01:00
Johannes Schönberger b0876ea4ea Remove deprecated absolute edge map description 2014-11-27 22:59:39 -05:00
Johannes Schönberger 7256f88332 Add missing comma 2014-11-27 12:02:30 -05:00
Johannes Schönberger c45473bdb9 Use new edge operator functions in test cases 2014-11-27 11:11:07 -05:00
Johannes Schönberger 1b0c40e27b Add signed edge operators and deprecate unsigned versions 2014-11-27 11:04:02 -05:00
Juan Nunez-Iglesias bc7df0e269 Merge pull request #1239 from ahojnnes/moments-templ
Moments (regionprops) speedup
2014-11-27 16:58:18 +11:00
Johannes Schönberger 8a67733567 Add encoding header 2014-11-26 18:26:34 -05:00
Johannes Schönberger fc0a6064d7 Use uint8 type for simple moments functions 2014-11-26 17:08:42 -05:00
Johannes Schönberger 71a5437794 Add fused type specialization for moments functions 2014-11-26 17:03:50 -05:00
Vighnesh Birodkar 9a8c7e5325 fixed blob area overlap function warning 2014-11-26 23:10:49 +05:30
Juan Nunez-Iglesias 802b22a62f Merge pull request #1229 from almarklein/patch-1
Update docs for img_as_ubyte
2014-11-26 10:39:46 +11:00
Almar Klein 0e7daf41dc Update docs in dtype.py: mention scaling of values 2014-11-25 08:43:58 +01:00
Matěj Týč 3b4425813b Streamlined connectivity vs neighbors handling 2014-11-25 00:37:19 +01:00
Juan Nunez-Iglesias 879f8bb8a8 Protect exposure.histogram from integer overflow
Fixes #1228 .

I also removed a min() calculation and prevented an image copy when
offset is 0, which is most of the time.
2014-11-24 23:59:43 +11:00
Matěj Týč ac11b61502 Fixed typos, added array shape checking 2014-11-23 23:45:32 +01:00
Matěj Týč d07caea5a8 Mended code style 2014-11-23 23:17:01 +01:00