Juan Nunez-Iglesias
14852f4578
Merge pull request #1960 from sdsingh/profile_line
...
Update docstring for profile_line
2016-02-26 18:53:31 +11:00
Shaun Singh
7a2c80e70f
Fix spacing for inline comments
2016-02-25 17:24:29 -08:00
Shaun Singh
f6618ef8b2
Clean up profile-line docstring
2016-02-24 17:38:21 -08:00
Shaun Singh
7f5b9327fa
Update docstring for profile_line
2016-02-24 16:54:22 -08:00
Johannes Schönberger
5457b94132
Merge pull request #1951 from jmetz/update_peak_local_max_exclude_border
...
Updated exclude_border to not use min_distance
2016-02-24 12:19:39 +01:00
Jeremy Metz
4244bb17a8
Fix: missing colon on additional tests of exclude_border values
2016-02-24 02:27:14 +00:00
Jeremy Metz
488866cfe5
Added additional tests of exclude_border values
2016-02-24 02:06:09 +00:00
Jeremy Metz
20d4e7dde8
Finally fixed issue:
...
Issue Was with remnant of min_distance logic (i.e. `footprint is not
None`
2016-02-24 01:36:21 +00:00
Jeremy Metz
c0e3dcc69f
Reverted tests to boolean exclude_border
2016-02-24 00:02:41 +00:00
Jeremy Metz
7b23b83d21
Updated test_peak for new exclude_border
2016-02-23 22:24:36 +00:00
Jeremy Metz
25d15c603d
Updated default value to be backwards compatible
2016-02-23 22:17:28 +00:00
Juan Nunez-Iglesias
b5efe5ed94
Merge pull request #1956 from emmanuelle/label_zero
...
New handling of background pixels for measure.label
2016-02-23 10:10:56 +11:00
Juan Nunez-Iglesias
1ab275e52e
Merge pull request #1923 from ev-br/skel3d
...
MRG: 3D skeletonization
2016-02-23 09:43:57 +11:00
emmanuelle
a5a771a8e4
Modified label function so that background pixels are labeled with 0, and
...
background=0 by default.
Modified label function so that background pixels are labeled with 0, and
background=0 by default. All tests of _ccomp.pyx pass
Modified a couple of files to be consistent with the new behavior of
measure.label
Modified doctring of label to pass doctest
Modified TODO.txt as well as release notes to mention the new behavior of
label.
Typo in docstring
Typo in docstring
Changed default value of kw argument background in measure.label
Removed unnecessary and outdated comment
2016-02-22 21:19:23 +01:00
Evgeni Burovski
926af0ff53
BUG: fix the conversion from .pyx.in to .pyx files
...
It got botched sometime around reviewing/merging/rebasing of gh-1924
2016-02-22 15:01:03 +00:00
Jeremy Metz
5e6c98ac01
Added backwards compatibility for exclude_border
2016-02-22 10:06:40 +00:00
Stefan van der Walt
44150989ee
WIP
2016-02-21 16:50:21 +01:00
Evgeni Burovski
fc70f73064
STY: more tweaks in response to review comments
2016-02-20 17:29:13 +00:00
Evgeni Burovski
ba328e7531
MAINT: address review comments
...
Use recommended idioms in the .py wrapper
2016-02-20 17:29:13 +00:00
Evgeni Burovski
2bc8538f9f
MAINT: address review comments
...
* typos in comments
* handle the corner case of width-1 2D image
* vanity
* change up leftover <= to correct ==
2016-02-20 17:29:13 +00:00
Evgeni Burovski
dc702a83ee
TST: skel3d: redo 3D test images
...
Remove ad-hoc images from morphology/tests/data folder.
Add a FIJI generated image to skimage/data.
The image was generated via
>>> img = binary_blobs(32, 0.05, n_dim=3, seed=1234)
>>> img = img.astype(np.uint8)*255
>>> img = img[:-2, ...]
then saved as a sequence of png frames, read into FIJI as an image sequence,
and skeletonized via Plugins -> Skeletonize (2D/3D).
2016-02-20 17:29:13 +00:00
Evgeni Burovski
d832739300
TST: skel3d: remove 2D test images
2016-02-20 17:29:13 +00:00
Evgeni Burovski
64bb1775be
TST: inline a two-hole image
2016-02-20 17:29:13 +00:00
Evgeni Burovski
9648d71360
MAINT: skel3d: do not copy more than necessary
2016-02-20 17:29:13 +00:00
Evgeni Burovski
81d47328ea
DOC: spell out the names of [Lee94], add the Notes section
2016-02-20 17:29:13 +00:00
Evgeni Burovski
42d4eb6123
TST: skel3d: add more tests
2016-02-20 17:29:13 +00:00
Evgeni Burovski
304660d287
BLD: bump the cython version to 0.23.4 on Travis
2016-02-20 17:29:13 +00:00
Evgeni Burovski
87541b661d
BLD: skel3d: eradicate stray unicode symbols from source files
2016-02-20 17:29:13 +00:00
Evgeni Burovski
27b5dbca48
MAINT: skel3d: address review comments
...
Tidy up the python wrapper a little.
2016-02-20 17:26:12 +00:00
Evgeni Burovski
212c3d15ce
BLD: add the extension to bento.info, fix names
2016-02-20 17:26:12 +00:00
Evgeni Burovski
99de44744a
ENH: skel3d: unroll and inline index_octants into is_euler_invariant
...
13.7/7.3 performance boost on the lobster dataset, huh
2016-02-20 17:26:12 +00:00
Evgeni Burovski
a07dd7cb9e
MAINT: skel3d: minor sty/perf fixes
...
* remove commented out code
* statically type tuple of ints
2016-02-20 17:26:12 +00:00
Evgeni Burovski
de912c4f7b
STY: generate octree_labeling routine via tempita at build time
2016-02-20 17:26:12 +00:00
Evgeni Burovski
3bbb766f4e
MAINT: skel3d: rename _skel.pyx to _skel.pyx.in
...
(no templating yet)
2016-02-20 17:26:12 +00:00
Evgeni Burovski
c4c95ae4bc
STY: reformat the filling-in of the Euler LUT
2016-02-20 17:26:12 +00:00
Evgeni Burovski
85f46c6fe8
MAINT: skel3d: address review comments
...
* simplify filling in the neighb_idx LUT
* underscore references
* preserve the color range of the original image
2016-02-20 17:26:12 +00:00
Evgeni Burovski
456a5252c9
STY: skel3d: clarify the status of module-level LUTs.
...
Fill in at the module level, then rebind in compute_thin_image, and pass around
as arguments to relevant functions.
2016-02-20 17:26:12 +00:00
Evgeni Burovski
5fa50a6765
MAINT: skel3d: prune dead code (eg, is_surface_point)
2016-02-20 17:26:12 +00:00
Evgeni Burovski
ecf744542e
MAINT: remove decorators which have no effect anyway
2016-02-20 17:26:12 +00:00
Evgeni Burovski
dc6cf19fec
STY: move main functions to the top of the file
2016-02-20 17:26:12 +00:00
Evgeni Burovski
f82dddd475
MAINT: stop slicing memoryviews in is_simple_point.
...
Use plain C arrays for neighbors[27] + memcpy when copying the `cube`
for labeling.
Apparently, slicing memoryviews *is* expensive (cf Jake vdP'2012).
2016-02-20 17:26:12 +00:00
Evgeni Burovski
42ba24deb3
MAINT: skel3d: don't print stuff
2016-02-20 17:26:12 +00:00
Evgeni Burovski
88a9bcc874
DOC: skel3d: add basic docstrings
2016-02-20 17:26:12 +00:00
Evgeni Burovski
689980124d
MAINT: skel3d: simplify dealing with 2D images
2016-02-20 17:26:12 +00:00
Evgeni Burovski
c60b6b05cf
MAINT: statically type img in toplevel _compute_thin_image
2016-02-20 17:26:12 +00:00
Evgeni Burovski
2f0d0cc18c
MAINT: avoid incrurring np.r_ overhead in is_simple_point
...
(yet another x1.6)
2016-02-20 17:26:12 +00:00
Evgeni Burovski
b7889b2c4f
MAINT: avoid doing np.sum in the hot loop
...
(you gotta be kidding me, x2 speed-up)
2016-02-20 17:26:11 +00:00
Evgeni Burovski
01e1f04b28
TST: skel3d: add a Bat Cochlea sample from FIJI collections
2016-02-20 17:26:11 +00:00
Evgeni Burovski
c9ed06ad92
MAINT: skel3d: statically type Euler LUT
2016-02-20 17:26:11 +00:00
Evgeni Burovski
32865d2bd9
MAINT: skel3d: statically type index_octants
2016-02-20 17:26:11 +00:00