Commit Graph

13 Commits

Author SHA1 Message Date
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
Stefan van der Walt e99f18be5a BUG: Fix imports for Python 3.2. 2012-03-03 11:18:16 -08:00
Stefan van der Walt 33360cdb78 BUG: Fix data range in exposure tests. 2012-02-19 21:18:51 -08: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
Tony S Yu 87c2353845 Change API for equalize_hist and cumulative_distribution.
`equalize_hist`: "max_intensity" parameter no longer exists---img_as_float normalizes intensity range

`cumulative_distribution`: Return centers of bins instead of the edges.

Move `histogram` function from filter subpackage.

Add test of equalize_hist

Add example of histogram equalization.
2011-12-22 10:16:32 -08:00
Tony S Yu c87b1ad90e Add exposure module with histogram equalization function 2011-12-19 14:24:53 -05:00