Juan Nunez-Iglesias
4deeb1f802
Move max_id logic to top of RAG constructor
...
max_id is used during RAG building iteration, resulting in an error if
it is not defined ahead of the generic_filter stage.
2015-12-14 19:06:43 +11:00
Juan Nunez-Iglesias
53d3154f09
Use a strided 1-element array as dummy filter out
...
When using generic_filter to build a graph, the numerical filter
output is actually ignored. Building a full array, even of the
smallest dtype, was wasteful. Using stride_tricks solves this by
creating a single-element buffer into which all output is fed.
2015-12-14 18:57:29 +11:00
Juan Nunez-Iglesias
49aa7cf999
Fix typo in variable name
2015-12-14 18:42:25 +11:00
Juan Nunez-Iglesias
d5819f664a
Add tests for generic RAG construction
2015-12-14 17:12:11 +11:00
Juan Nunez-Iglesias
e9c4c87519
Make RAG generic, requiring only label_image
2015-12-14 17:12:11 +11:00
Juan Nunez-Iglesias
c3d52d602c
Simplify reference to generate_binary_structure
2015-12-14 17:12:11 +11:00
Juan Nunez-Iglesias
97f3ad1a6b
NetworkX is required so remove optional import
2015-12-14 17:12:11 +11:00
Juan Nunez-Iglesias
0d134987f9
Harmonize all ndimage usage across the library
...
Only two forms remain in use:
- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Vighnesh Birodkar
cacd214d68
Corrected Typo
2015-06-06 21:36:00 +05:30
Vighnesh Birodkar
8a78ad87ed
skip loop when min and max are equal
2015-06-06 00:51:30 +05:30
Vighnesh Birodkar
18b1906607
removed debug statements
2015-06-03 22:03:34 +05:30
Vighnesh Birodkar
23c6111ad3
Fixing error in ncut when subgraph as all equal weights ( #1538 )
2015-06-03 21:58:26 +05:30
Steven Silvester
09876408fc
Fix some sphinx warnings and add to build
...
Fix some sphinx warnings
Add documentation build to test
Add documentation build to test
Remove change in numpydoc
Remove change in apigen
Add makefile target for html and add to travis script
Add a makefile target for html and add to travis script
Fix more sphinx warnings
2015-02-07 16:40:26 -06:00
Juan Nunez-Iglesias
e5fe82d6f3
Fix even more tests still importing skimage.graph
2015-02-03 16:20:15 +11:00
Juan Nunez-Iglesias
9cbeeca0df
Update RAG doctest to use future
2015-02-03 15:52:26 +11:00
Juan Nunez-Iglesias
008775853f
Fix setup.py cascade
2015-02-03 15:34:56 +11:00
Juan Nunez-Iglesias
1b748668ee
Move package to skimage.future.graph
2015-02-03 15:06:27 +11:00