Commit Graph

5928 Commits

Author SHA1 Message Date
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
Marianne Corvellec 2b7b472fe9 One line. 2013-06-29 18:10:38 -04:00
Marianne Corvellec 4cf8e2744a PEP8 compliance! 2013-06-29 17:55:54 -04:00
Marianne Corvellec 9a45f82f1a Added some warnings for transparency. 2013-06-29 17:49:36 -04:00
Tony S Yu fe4470e480 Merge pull request #615 from JDWarner/fix_lineprofile
Fix lineprofile viewer plugin
2013-06-29 14:13:34 -07:00
Josh Warner (Mac) 6f775400b5 FIX: No longer reset for each update 2013-06-29 15:34:03 -05:00
Josh Warner (Mac) 19a3d33573 FIX: only reset axes when gray <-> rgb, not every update 2013-06-29 15:18:53 -05:00
Josh Warner (Mac) b4e71ecd43 FIX: remove blit, fix 0-length error on grayscale images 2013-06-29 15:09:58 -05:00
Marianne Corvellec b5c159d26d Improving docstring + style/convention edits 2013-06-29 15:29:44 -04:00
Josh Warner (Mac) e790fcc44e FIX: lineprofile no longer flips on left half and cardinals work 2013-06-29 14:24:16 -05:00
Josh Warner (Mac) e20aa7c381 FIX: refactor code, fix linewidth calculation 2013-06-29 14:24:16 -05:00
Josh Warner (Mac) 2b5930ad60 DOC: Add viewer example for RGB line profile 2013-06-29 14:24:16 -05:00
Josh Warner (Mac) 9ece0b576c FEAT: Automatically switch between RGB / grayscale lineprofile 2013-06-29 14:24:15 -05: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
Tony S Yu f8f3cee20a Merge pull request #620 from scikit-image/2013
Python 3 support without 2to3.
2013-06-29 12:15:08 -07:00
Stefan van der Walt 9ed26136e2 Do not run flakes on test files -- we have too many custom formatted array. 2013-06-29 11:59:47 -05:00
Stefan van der Walt f429b5abad Ensure PIL tests run with PIL. 2013-06-29 11:01:18 -05:00
Tony S Yu 6cef8727a0 Minor fixes
- Use absolute imports so __main__ examples work
- PEP8: 2 blank lines
2013-06-29 10:56:03 -05:00
Stefan van der Walt 2566171929 Space code more readably in transform. 2013-06-29 10:55:34 -05:00
Stefan van der Walt 39e66c0229 Add to public API. 2013-06-29 10:18:43 -05:00
Stefan van der Walt 0286d2d30f Use int32 for labelling. 2013-06-29 10:17:42 -05:00
Stefan van der Walt f0506f1293 Fix imports under Python 3. 2013-06-29 10:17:42 -05:00
Stefan van der Walt 558298f426 Fix im_self access in Python 3. 2013-06-29 10:17:42 -05:00
Stefan van der Walt 9d1907a211 Fix im_class access in Python 3. 2013-06-29 10:17:42 -05:00
Adam Wisniewski 81519b7863 adding main to run tests 2013-06-29 10:17:41 -05:00
Adam Wisniewski 227b209720 fix arraypad 2013-06-29 10:17:41 -05:00
Stefan van der Walt eb66e34351 Fix label casting for numpy 1.7. 2013-06-29 10:17:41 -05:00
Stefan van der Walt 504ad94dc6 Fix iterator. 2013-06-29 10:17:41 -05:00
Stefan van der Walt 84615478e4 Fix function code. 2013-06-29 10:17:41 -05:00
Stefan van der Walt b04c3282bf Fix zip. 2013-06-29 10:17:41 -05:00
Stefan van der Walt a1adfa8d54 Correctly check for string type. 2013-06-29 10:17:41 -05:00
Stefan van der Walt 9a38a59a25 Remove is_str and replace by isinstance(..., six.string_types). 2013-06-29 10:16:42 -05:00
Stefan van der Walt 70d21f23a2 Add six compatibility module. 2013-06-29 10:16:42 -05:00
Stefan van der Walt 2ef6f0ae73 Remove 2to3. 2013-06-29 10:16:42 -05:00
Ankit Agrawal e931739502 Adding custom sampling seed, Normal sampling mode 2013-06-29 12:09:56 +08:00
Marianne Corvellec 0baffad640 Okay, I think I got the rst syntax this time... 2013-06-28 19:10:55 -04:00
Josh Warner (Mac) c18373f3ad Use memoryviews in skimage.transform 2013-06-28 17:53:14 -05:00
Tony S Yu c61e0434e4 Merge pull request #613 from adamw523/master
support for saving to file-like object in imsave
2013-06-28 14:47:26 -07:00
Adam Wisniewski a95824c36f Merge pull request #1 from tonysyu/pr/613
Minor cleanups to test
2013-06-28 14:19:09 -07:00
Tony S Yu 397e7c1ade Clean up test. 2013-06-28 16:08:11 -05:00
Tony S Yu c76daa97a9 Add explanation to LBP example 2013-06-28 16:00:03 -05:00
Marianne Corvellec edee15054b Edited after Stefan's comments. 2013-06-28 16:50:43 -04:00
Adam Wisniewski 362d915399 support for saving to file-like object in imsave 2013-06-28 16:18:01 -04:00
Stefan van der Walt 2e80b819d0 Merge pull request #612 from applio/master
Fix test which relied on dtype of input image.
2013-06-28 11:41:13 -07:00
Horea Christian 9583072271 Added usage example. 2013-06-28 20:20:39 +02: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