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
Johannes Schönberger
7602d8eed5
Pre-build edge filter weights and use views
2013-04-27 14:56:02 +02:00
Tony S Yu
004c8ceb0e
Merge branch 'pr/531'
2013-04-25 23:14:07 -05:00
Tony S Yu
f2ace75369
Fixes to make doctests pass.
2013-04-25 23:13:41 -05:00
Tony S Yu
5c3c75cd09
Minor cleanups
...
* PEP8 clean ups (space after commas, docstring spacing, prefer parentheses over line continuation)
* Simplify creation of test images.
* Use `plt.subplots` instead of state machine
* Minor wording modifications
2013-04-25 22:47:22 -05:00
umesh
18839cdf08
Updated Test Case
2013-04-23 08:43:05 -07:00
umesh
9c6cd7dbd9
Final Roberts Edge Detector
2013-04-23 01:16:29 -07:00
root
f417a45a97
Updated function names[Robert's Edge Detection]
2013-04-22 15:29:25 -07:00
Umesh
27026cea87
updated tests for Roberts Edge Detector
2013-04-22 07:51:44 -07:00
Umesh
e6dedc68e8
Upadated Version with test added(/filter/tests/test_edge.py
2013-04-22 00:21:26 -07:00
Umesh
43c8858338
Updated Implementation of Roberts Algorithm
2013-04-21 17:19:18 -07:00
Emmanuelle Gouillart
ecba2df2ac
median filter outlier
2013-04-20 19:45:21 +02:00
Josh Warner (Mac)
cf264353c1
FIX use specific structuring element in Canny
2013-04-09 19:37:09 -05:00
Tony S Yu
2838b97261
Merge pull request #371 from ahojnnes/gabor
...
Gabor filter
2013-04-07 14:12:41 -07:00
Tony S Yu
0f2628c7db
Add better test of gabor filter
2013-04-07 10:43:43 -05:00
Tony S Yu
67536c94f6
DOC: Tweak docstrings for Gabor filter
2013-04-06 21:30:50 -05:00
Tony S Yu
2bf178ceb2
Add bandwidth parameter to gabor_kernel
...
Note that this changes the API of `gabor_kernel` and `gabor_filter`: The input parameters are rearranged and positional arguments are changed to keyword args.
2013-04-06 21:18:53 -05:00
Tony S Yu
7d407fc778
Fix kernel-size calculation for non-zero theta.
2013-04-06 20:27:05 -05:00
Johannes Schönberger
95d1e627c6
Rename sigma parameters by adding an underscore as separator
2013-04-06 19:21:08 +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
Christoph Gohlke
45f53c9e3a
Fix MSVC error C2036: 'void *' : unknown size
2013-03-06 10:09:59 -08:00