Commit Graph
261 Commits
Author SHA1 Message Date
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
Johannes Schönberger bb6ea70563 Merge pull request #621 from tonysyu/fix/rank-dtype-compatibility
Fix rank dtype compatibility
2013-06-29 23:30:49 -07:00
Marianne Corvellec 75b3fcd4dd Included Tony's edits. 2013-06-29 18:34:41 -04:00
Marianne Corvellec 5b3081ccc6 Always follow the style guide :) 2013-06-29 18:29:55 -04:00
Marianne Corvellec ee7f710e55 Improved style. 2013-06-29 18:11:36 -04:00
Marianne Corvellec 8f40e05aab Fixed relative threshold: you consider 10% and 20% of the max for range of
corresponding dtype.
2013-06-29 18:11:36 -04:00
Marianne Corvellec 94dc84f5b7 Clarified that you can pass images of any type into Canny filter.
If low and high thresholds are not specified by user, default to 10 and 20 %
(respectively) of range of image's dtype.
2013-06-29 18:11:36 -04:00
Tony S Yu d96411a743 Fix build script 2013-06-29 14:16:22 -05: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
Stefan van der Walt f20286b696 Merge pull request #581 from ankit-maverick/subtract
STY: Replacing every occurence of ``substract*`` with ``subtract*``.
2013-06-06 21:47:41 -07:00
Ankit Agrawal 8ecadf175c Replacing every occurence of substract* with subtract* 2013-06-07 11:16:26 +08:00
Alexis Mignon 28189c9a66 Moved image conversion after the verification of the max_value 2013-06-03 10:03:57 +02:00
Alexis Mignon a80fd76ef6 Deported variable initialization after the cdef block to allow verifications. 2013-06-01 14:38:26 +02:00
Alexis Mignon 9b3c5792a0 Modified 'denoise_bilateral':\n1) check that image max value is not zero to avoid segmentation fault.\n2) initialize color_lut after sigma_range has been checked. 2013-05-31 18:06:47 +02:00
Johannes Schönberger 3dc4824fb5 Fix doc string of threshold_adaptive 2013-05-26 12:49:26 +02:00
Johannes Schönberger b9cf214509 Add filter.rank to __all__ of filter package 2013-05-26 12:21:54 +02: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
Tony S Yu 4d7905951b Merge pull request #536 from ahojnnes/edge-weights
Some tweaks for edges.py
2013-05-06 08:17:00 -07:00
Johannes Schönberger cec8516f69 Readd Cellprofiler license notes to edges.py 2013-05-06 12:11:09 +02:00
Johannes Schönberger 927d91239e Add __all__ to rank filter package 2013-04-28 23:20:00 +02:00
Johannes Schönberger 702c1773b7 Add __all__ to filter package 2013-04-28 23:20:00 +02:00
Johannes Schönberger cd78e81de3 Fix output array dimensions in doc string 2013-04-27 15:15:46 +02:00
Johannes Schönberger c8fc92be82 Remove outdated author in doc string 2013-04-27 14:56:41 +02:00