Commit Graph
113 Commits
Author SHA1 Message Date
Johannes Schönberger fb1c1d39f0 Fix misspelled sections 2013-11-09 23:01:58 +01:00
Johannes Schönberger 1dc346fbdb Fix duplicate percentile names rank namespace 2013-11-03 17:54:45 +01:00
Johannes Schönberger 22273a5160 Fix 16bit rank filter test in python 3.x 2013-10-30 23:07:23 +01:00
François Boulogne a1373269e6 DOC: fix indent 2013-10-02 18:28:14 +02:00
François Boulogne 8f20fff3f8 PEP8: fix indentation 2013-10-02 18:14:21 +02:00
François Boulogne 8b2f52da50 DOC: protect last character in URL 2013-08-10 13:57:24 +02:00
Johannes Schönberger d883b45666 Fix Otsu rank filter kernel loop range 2013-08-01 11:12:55 +02:00
Johannes Schönberger d9196be3c3 Fix loop ranges of rank filter kernel functions 2013-08-01 08:45:51 +02:00
Johannes Schönberger f9f405a8ba Fix invalid previous fix for percentile edge case 2013-07-31 19:50:05 +02:00
Johannes Schönberger 7be96b4a01 Integrate new test cases from @odebeir and fix old function names of dilate and erode 2013-07-31 19:45:55 +02:00
Johannes Schönberger 9f68e71412 Fix accidential variable naming confusion 2013-07-31 19:27:52 +02:00
Johannes Schönberger 391e976157 Add specific branch for the percentile p0 = 0 case 2013-07-31 19:24:18 +02:00
Johannes Schönberger 5c5c67027e Add missing p1 parameter to percentile and threshold functions 2013-07-31 19:12:44 +02:00
Johannes Schönberger bb4a8aff26 Add test for output dtype of entropy 2013-07-12 23:20:32 +02:00
Johannes Schönberger 8ea6d1deb0 Replace all float dtypes with double 2013-07-12 23:16:51 +02:00
Johannes Schönberger 33a09c3b1a Add option to return double output image for rank filters 2013-07-12 23:16:51 +02:00
Johannes Schönberger e041c27f88 Deprecate old rank filter functions 2013-07-12 23:16:50 +02:00
Johannes Schönberger 6ee96054c9 Append percentile, bilateral function name part 2013-07-12 23:16:50 +02:00
Johannes Schönberger ed21622caf Use consistent description of output image 2013-07-12 23:16:50 +02:00
Johannes Schönberger 658201f8f6 Rename mean_subtraction, morph_contr_enh to subtract_mean and enhance_contrast 2013-07-12 23:16:50 +02:00
Johannes Schönberger 54c73fae06 Replace log warning with UserWarning 2013-07-12 23:16:50 +02:00
Johannes Schönberger 43feb4bf78 Update bitdepth warning 2013-07-12 23:16:50 +02:00
Johannes Schönberger 4de4053a9f Refactor rank filter package as combined implementation for 8- and 16-bit 2013-07-12 23:16:49 +02:00
Johannes Schönberger 9a36e3b270 Log warning when bitdepth > 10 2013-07-12 23:16:49 +02:00
Johannes Schönberger 6c5eb12df8 Cast to int for python 3 2013-07-12 23:16:09 +02:00
Johannes Schönberger 663092aca0 Improve indentation 2013-07-12 23:16:09 +02:00
Johannes Schönberger f74c073da1 Add test case for bilateral filters 2013-07-12 23:16:09 +02:00
Johannes Schönberger ce792d5e1a Improve description of bilateral filter 2013-07-12 23:16:08 +02:00
Johannes Schönberger 984e542425 Use missing memoryviews for bilateral kernels 2013-07-12 23:16:08 +02:00
Johannes Schönberger 7fa8e70495 Fix README for full 16bit support 2013-07-12 23:16:08 +02:00
Johannes Schönberger d1fb013788 Fix test cases for full 16bit support 2013-07-12 23:16:08 +02:00
Johannes Schönberger e9fcdc4a56 Fix attack-release border initialization 2013-07-12 23:16:08 +02:00
Johannes Schönberger ccd902fcb4 Extend bitdepth from 12bit to full 16bit 2013-07-12 23:16:08 +02:00
Johannes Schönberger c9e81053f7 Capitalize parameter description in doc string 2013-07-12 23:16:08 +02:00
Johannes Schönberger aa973aeff2 Fix wrong module name 2013-07-12 23:16:08 +02:00
Johannes Schönberger cd7959dd08 Fix styling of some comments 2013-07-12 23:16:08 +02:00
Johannes Schönberger ea8111d0e3 Use typed memoryviews for diff array 2013-07-12 23:16:08 +02:00
Johannes Schönberger d251fd8891 Improve code layout and styling 2013-07-12 23:16:08 +02:00
Johannes Schönberger 2641df3497 Use typed memoryviews in rank filter package 2013-07-12 23:16:08 +02:00
Johannes Schönberger 9a17db19da Refactor rank filter package for consistent naming 2013-07-12 23:16:07 +02:00
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