Commit Graph

52 Commits

Author SHA1 Message Date
Steven Silvester 2355c17e3c Add mask option to exposure.equalize_hist with test.
Remove print and fix comparision to None

Update test to make it clear there is a difference

Fix mask logic and `equalize_hist` in `__all__`.

Fix handling of mask and tweak mask test

Another run at travis

Update travis to avoid conflict
2014-08-31 21:15:01 -05:00
Tony S Yu 4c000c4d89 Use normal deprecation warning 2014-07-11 17:01:54 -05:00
Tony S Yu 879c2c7f36 Add tests for intensity_range and rename parameter 2014-07-11 16:30:18 -05:00
Tony S Yu b066a143b9 Clarify docstrings 2014-06-17 23:08:03 -05:00
Tony S Yu 8e539cc12a Clarify docstrings 2014-06-17 23:08:03 -05:00
Tony S Yu ec9198c58e Edit wording of docstrings 2014-06-17 23:08:03 -05:00
Tony S Yu 423207e07c Make intensity_range a public function 2014-06-17 23:08:03 -05:00
Tony S Yu 9b110d6c6e Tweak range definition in rescale_intensity 2014-06-17 23:08:02 -05:00
Johannes Schönberger 3d50a03c56 Remove deprecated skimage.exposure.exposure 2014-04-11 10:05:50 -04:00
François Boulogne 92b9ebc0e9 MAINT: remove 2 weird lines 2014-03-14 20:28:30 -04:00
Tony S Yu 7b104fdf14 Add string inputs for range parameters of rescale_intensity 2014-02-23 14:36:31 -06:00
Johannes Schönberger 5b3c21a4d4 Add test for neggative gamma parameter 2013-11-22 12:33:21 +01:00
Johannes Schönberger ad3464701a Fix doc string syntax errors 2013-11-09 23:13:43 +01:00
Johannes Schönberger 411de753bd Remove plotter from doctest and use comparison to np.histogram instead 2013-11-03 10:30:31 +01:00
François Boulogne eb4c5c9ee4 PEP8 2013-10-14 16:14:30 +02:00
Ankit Agrawal 3e544d7fac Adding author and name of the paper in reference section of adjust_sigmoid 2013-06-12 18:11:40 +08:00
Ankit Agrawal 2c0e20f972 Correcting typo in the reference section of adjust_sigmoid. 2013-06-12 16:32:15 +08:00
Ankit Agrawal 884ac317c8 Correcting typo in the reference section of adjust_sigmoid 2013-06-12 16:31:13 +08:00
Ankit Agrawal 04625ebabf Final stylistic changes in exposure.py 2013-06-10 00:32:22 +08:00
Ankit Agrawal f94f3db597 Renaming rescale_intensity_* as adjust_* 2013-06-06 12:13:48 +08:00
Ankit Agrawal 9a1c39f089 Adding a utility function to test non-negativity of an image 2013-06-06 12:13:20 +08:00
Ankit Agrawal 00ae241525 Error handling for images with negative values in Image Correction methods 2013-06-06 12:13:20 +08:00
Ankit Agrawal 23f61795eb Minor improvements in docs, tests 2013-06-06 12:12:40 +08:00
Ankit Agrawal a475d3c694 Corrections and Improvements 2013-06-06 12:12:40 +08:00
Ankit Agrawal e1c23ac08c Added better tests and removed weak ones 2013-06-06 12:11:53 +08:00
Ankit Agrawal c9330ea186 Correcting code quality issues 2013-06-06 12:11:53 +08:00
Ankit Agrawal 8f8c58317c Separating correction methods into different functions 2013-06-06 12:10:54 +08:00
Ankit Agrawal 4d1c334842 Separating the functions 2013-06-06 12:03:28 +08:00
Ankit Agrawal c1e8440f72 Prevented info loss, implemented Log and Sigmoid Correction 2013-06-06 12:03:28 +08:00
Ankit Agrawal 391b2edad6 Added a function for Gamma Correction 2013-06-06 11:55:21 +08:00
Emmanuelle Gouillart 182a194ecd DOC: Comment on the behavior of `histogram` for color images. 2013-04-28 18:22:01 +02:00
Tony S Yu f2ace75369 Fixes to make doctests pass. 2013-04-25 23:13:41 -05:00
Emmanuelle Gouillart 3f47aefa90 histogram example 2013-04-20 19:53:58 +02:00
Tony S Yu dd08c8cd83 Fix return value of deprecated equalize function. 2013-02-26 20:34:29 -06:00
Steven Silvester e91129de53 Renamed functions to equalize_hist/adapthist, with a deprecation warning for equalize 2012-12-08 14:53:34 -06:00
Steven Silvester 94af01cdbd Translated clahe C code to python, added to list of contributors. 2012-12-07 17:25:04 -06:00
Steven Silvester 269929333b Passed all tests with full coverage, PEP8 and Pylint performed. 2012-12-07 17:23:40 -06:00
Steven Silvester c7c4db6e3c Improved support for color images using lab transform. 2012-12-07 17:22:41 -06:00
Steven Silvester 715271bde9 Pep8 fixes. 2012-12-07 17:22:41 -06:00
Steven Silvester ea850757c8 Added Notes to the docstring. 2012-12-07 17:22:41 -06:00
Steven Silvester c6d0acfdab Initial commit of adapthist modifications. 2012-12-07 17:22:33 -06:00
Tony S Yu 8b15656feb Change import to silence import errors in docs.
`import skimage` in submodules seems to cause issues with Sphinx autodocs. (Maybe some sort of circular import issue.) Note the `ImportErrors` fixed by this commit don't actually cause sphinx build errors; Sphinx seems to capture the errors, but it's annoyingly noisy, nonetheless.
2012-09-02 12:23:52 -04:00
Johannes Schönberger fc7859471f Fix examples of exposure package 2012-08-26 00:35:16 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
cgohlke b7045e6cd0 Fix rescale_intensity 2012-05-22 18:58:22 -07:00
cgohlke fc42d86894 Adjust rescale_intensity function to new dtype conversion rules 2012-05-22 00:28:32 -07:00
Tony S Yu f5037203f2 Add rescale_intensity function with test and example. 2011-12-27 11:01:53 -08:00
Stefan van der Walt d74295c7f1 DOC: Explain why bincount is used to histogram integer arrays. 2011-12-26 01:53:59 -08:00
Tony S Yu 62d3b5590b Remove density parameter in histogram
The `density` (or `normed`) parameter was set in the original implementation of `equalize`, but it is unnecessary since `cumulative_distribution` renormalizes values. The only other function in scikits-image that calls `histogram` (`filter.threshold_otsu`) is not affected by renormalization.
2011-12-22 10:58:02 -08:00
Tony S Yu d4ca519ca5 Rename equalize_hist to equalize and minor cleanup 2011-12-22 10:48:28 -08:00