Commit Graph
73 Commits
Author SHA1 Message Date
Tony S Yu f92f057cbd Add support for all data types.
All dtypes larger than 8-bits are converted to uint16 and then bit-shifted to
uint12.
2013-06-29 14:16:22 -05:00
Tony S Yu 58a4a43f10 Change rank.pyx to _rank.py
- Cython was unnecessary in the main rank module
- Don't shadow package name in the module
- Add support for int8 images.
2013-06-29 14:16:22 -05:00
Davin Potts 0586817962 Modified test_rank.test_compare_autolevels and test_rank.test_compare_8bit_vs_16bit to correct for assumption that data.camera() would always be loaded as ubyte (or ints at least) when using matplotlib as backend (which caused data.camera() to load as float32). 2013-06-28 12:17:28 -05:00
Ankit Agrawal 8ecadf175c Replacing every occurence of substract* with subtract* 2013-06-07 11:16:26 +08:00
Olivier Debeir 809e285250 fix:remove unused parameters in rank.percentile 2013-05-10 16:23:10 +02:00
Olivier Debeir cdca3f9d40 remove long lines 2013-05-10 16:04:15 +02:00
Olivier Debeir 59b37afea8 typo 2013-05-10 16:02:27 +02:00
Olivier Debeir e23c4f3841 fix:doctring rank/percentile 2013-05-10 09:10:26 +02:00
Johannes Schönberger 927d91239e Add __all__ to rank filter package 2013-04-28 23:20:00 +02:00
Johannes Schönberger 8299f471f2 Add test case for different dtypes of structuring element 2013-03-27 22:26:29 +01:00
Johannes Schönberger 23cf8b7dfb Make sure non-zero values are treated as True 2013-03-27 22:25:59 +01:00
Thouis (Ray) Jones a784e28012 fix rank filters for float structuring element 2013-03-26 23:25:10 -04:00
Johannes Schönberger 0324737c47 Fix some doc strings for latex docs 2013-03-12 09:39:42 +01:00
Tony S Yu 17e7ba3de7 DOC: Fix Sphinx errors. 2013-03-02 17:22:10 -06:00
Stefan van der Walt 00c023d814 Merge remote-tracking branch 'cgohlke/patch-2' into msvc_build_fix
Conflicts:
	skimage/filter/rank/_crank16.pyx
	skimage/filter/rank/_crank8.pyx
2013-02-25 09:20:05 +02:00
Stefan van der Walt a17d8182aa PKG: MSVC build fixes by Christoph Gohlke. 2013-02-25 06:52:04 +02:00
Christoph Gohlke 2e230c70c0 Use log(2) instead of log10(2) 2013-02-24 09:01:09 -08:00
Christoph Gohlke 27b837b799 Use log(2) instead of log10(2) 2013-02-24 08:57:53 -08:00
Johannes Schönberger 62d83ad42c Globally change np to cnp if cimported 2013-02-24 14:14:14 +01:00
odebeir db764671d4 fix: Otsu(8bit) and bilateral functions docstrings 2013-02-13 16:20:32 +01:00
Stefan van der Walt bf4709155d PKG: MSVC build fixes by Christoph Gohlke. 2013-01-17 11:11:21 +07:00
Johannes Schönberger 80a9a5aba5 Apply numpy reference style to rank filter descriptions 2012-11-14 08:33:27 +01:00
Olivier Debeir 70f2b67ef7 fix: ref and test_otsu doc 2012-11-14 08:00:59 +01:00
Olivier Debeir 698d6ae13f fix:< Py_ssize_t > 0 and & pop 2012-11-13 17:07:21 +01:00
Olivier Debeir 411d4686d5 fix:wrap lines in tests 2012-11-13 17:02:08 +01:00
Olivier Debeir f133158792 autopep8 for plot_* and rank sources 2012-11-13 09:37:58 +01:00
Johannes Schönberger 4a0b22aff5 Use common spelling for greylevel 2012-11-12 20:07:02 +01:00
Johannes Schönberger eaf48a71e9 Use numpy reference style 2012-11-12 19:31:06 +01:00
Johannes Schönberger a376a07c3b PEP8 fixes in doc string examples 2012-11-12 19:29:00 +01:00
Johannes Schönberger fce2ae3f5f Fix spelling of X-bit 2012-11-12 19:25:46 +01:00
Johannes Schönberger f724b97f90 Fix typos and spelling of readme 2012-11-12 19:24:02 +01:00
Olivier Debeir da391089cb add: local Otsu synthetic example 2012-11-12 14:48:38 +01:00
Olivier Debeir db2e066f4c add: test otsu 2012-11-12 14:40:49 +01:00
Olivier Debeir add437a9f2 add: test entropy 8- & 16-bit 2012-11-12 10:39:12 +01:00
Olivier Debeir c9f1b67c7b fix: check pop==0 for some kernels 2012-11-12 10:05:52 +01:00
Olivier Debeir fd82ac9959 add new tests 2012-11-12 09:54:10 +01:00
Olivier Debeir a09ec78977 remove local demo from git 2012-11-12 09:34:33 +01:00
odebeir 08b748c379 local Otsu returns now the threshold values 2012-11-11 14:39:09 +01:00
Johannes Schönberger 8fea5d15d1 Change data type of pop variable to float 2012-11-10 13:49:52 +01:00
Johannes Schönberger f5ad204aca Use single file for test cases and rename file 2012-11-10 11:23:43 +01:00
Johannes Schönberger c9f95db67f Fix, improve and extend test cases 2012-11-10 11:21:55 +01:00
Johannes Schönberger 8c55640d60 Do not ignore exceptions in core functions 2012-11-10 11:20:56 +01:00
Johannes Schönberger c00fedde6c Fix, improve and extend histogram test cases 2012-11-10 09:43:15 +01:00
Johannes Schönberger 7ea3a754e0 Remove duplicate contiguous conversion 2012-11-10 08:59:48 +01:00
Johannes Schönberger 2bb139fb03 Wrap lines 2012-11-10 08:39:27 +01:00
Johannes Schönberger 804b426787 Clean Readme 2012-11-10 08:35:23 +01:00
Johannes Schönberger 045eb88e9f Change type of pop variable from float to Py_ssize_t 2012-11-10 08:31:20 +01:00
Johannes Schönberger 28e7b19c93 Improve code layout of kernel functions 2012-11-10 08:24:44 +01:00
Johannes Schönberger 4a14a217b9 Improve overall code style 2012-11-09 19:39:30 +01:00
Olivier Debeir 44ada6cb70 add local Otsu threshold 2012-11-08 17:10:00 +01:00