Commit Graph
85 Commits
Author SHA1 Message Date
Vighnesh Birodkar 1982a3246c Docstring changes. 2014-06-28 01:32:55 +05:30
Vighnesh Birodkar c8480d3f6d Change merge_nodes code and test case 2014-06-28 01:17:44 +05:30
Vighnesh Birodkar c08a6876d6 Added comment about footprint 2014-06-26 02:05:20 +05:30
Vighnesh Birodkar bb874074c4 None comparison 2014-06-26 00:58:54 +05:30
Vighnesh Birodkar b1284ee180 update test for py3 2014-06-26 00:57:50 +05:30
Vighnesh Birodkar cbfa8aa6e1 docstring corrections 2014-06-26 00:54:16 +05:30
Vighnesh Birodkar b1f59fceee Changed prototype of weight_func 2014-06-26 00:11:49 +05:30
Vighnesh Birodkar bd9ab8f0fd Switch label_image to labels 2014-06-23 23:04:16 +05:30
Vighnesh Birodkar 27831d8e2f Formatting and docstring changes 2014-06-23 22:26:53 +05:30
Vighnesh Birodkar 66d3ec3831 removed commented stataments 2014-06-23 01:28:10 +05:30
Vighnesh Birodkar c14021a9cb Formatting and typos 2014-06-23 01:16:57 +05:30
Vighnesh Birodkar a1bc2e95fd Made test Python3 compatible 2014-06-23 01:15:00 +05:30
Vighnesh Birodkar 0efca40747 Added connectivity parameter and a function input to merge_nodes 2014-06-23 00:58:13 +05:30
Vighnesh Birodkar 3db0a2f81f Naming changes and formatting 2014-06-22 20:27:44 +05:30
Vighnesh Birodkar 319530fb89 Used mapping in graph_cut.py 2014-06-22 19:48:52 +05:30
Vighnesh Birodkar 0e35c422b3 Graph can now merge non adjacent nodes 2014-06-22 13:58:00 +05:30
Vighnesh Birodkar 711de464e5 Formatting changes 2014-06-19 18:03:44 +05:30
Vighnesh Birodkar 76d3dbad57 added merge_nodes test 2014-06-19 17:57:07 +05:30
Vighnesh Birodkar d0e7a26f6f Added RAG merge_nodes test case 2014-06-19 16:36:17 +05:30
Vighnesh Birodkar 20cefcf50a Added comments and switched try with if 2014-06-19 16:18:53 +05:30
Vighnesh Birodkar 410aecb354 type casting to double instead of long 2014-06-19 02:50:25 +05:30
Vighnesh Birodkar 53330496f8 Added references 2014-06-19 02:50:25 +05:30
Vighnesh Birodkar 78397bf54d reverted benfo.info and setup.py 2014-06-19 02:50:25 +05:30
Vighnesh Birodkar 9b8e1333e8 Corrected rag import 2014-06-19 02:50:25 +05:30
Vighnesh Birodkar f5f93f8ce3 Removed cython file and added nd python function for RAG construction 2014-06-19 02:50:25 +05:30
Vighnesh Birodkar 2a7ec3afd4 Renamed _construct.pyx to _build_rag.pyx and some code corrections 2014-06-19 02:50:25 +05:30
Vighnesh Birodkar 53318c44df CHanges to get Python3 working 2014-06-19 02:50:25 +05:30
Vighnesh Birodkar bf89726c49 removed comments 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar 18a6535089 Corrected test mistake 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar c08d96d2b5 Minor Foramtting 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar 3ea78096e7 Formatting changes 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar 1ad8ad733b Added examples in docstring 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar 850f835114 Docs formatting 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar 10f91fe8b0 Added docs 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar abcb9cf2ef Added testcase 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar a6c9a5a2a7 Renamed graph.py to rag.py 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar 53077c9f22 Added edge threshold cut 2014-06-19 02:50:24 +05:30
Vighnesh Birodkar 2b10d98179 Added mean color RAG construction code 2014-06-19 02:50:24 +05:30
Johannes Schönberger f4f509fa8d Fix cython compilation warnings 2014-05-05 14:37:15 -04:00
cgohlke b06d160cb7 Fix TypeError: __class__ assignment: 'TestFlexibleMCP' object layout differs from 'UnboundSelf' 2014-03-10 23:40:14 -07:00
Almar Klein 14288e1f1e PEP8 stuff. 2014-01-06 12:39:13 +01:00
Almar Klein 3cb5a19479 Update MCP: Put back the traceback() method.
I initially changed it to allow faster (flat) tracebacks *during*
front evolution, but it turned out not to be necessary. Putting back
to minimize the changes of this PR.
2014-01-03 15:09:06 +01:00
Almar Klein 9113d5a08b update-mcp: add tests for MCP_Flexible 2013-12-15 13:32:15 +01:00
Almar Klein fc90a164fe update-mcp: improvements to docstrings. 2013-12-15 12:44:53 +01:00
Almar Klein 789ade3ca2 update-mcp: added tests for newly added features.
Also fix in existing test related to how the traceback arrays is initialized:
first it was initialized with all -1, now with -2, and -1 at the seed points.
2013-12-15 00:37:27 +01:00
Almar Klein fdd880aa7f update-mcp: add new MCP classes to skimage.graph namespace 2013-12-14 23:58:45 +01:00
Almar Klein 2ebeee2df4 update-mcp: Change when examine_neighbors is called.
Also renamed Mcp_Connect to MCP_Connect.

Makes more sense to call it when the neighbor is frozen. In that
way the method is called exactly once for each pair of neighbours.
Plus the costs and paths are known and fixed.
2013-12-14 23:55:48 +01:00
Almar Klein f7416507fa update-mcp: Small fix.
Need _start and _end attributes for the MCP class.
It worked for my own tests because I overloaded the MCP class.
2013-12-13 16:37:36 +01:00
Almar Klein 32c4a80b32 update-mcp: Add MCP_Flexible subclass.
This class adds a public def-method for the private cdef-method hooks.
This allows users to influence the behavior of the MCP algorithm by
subclassing it in pure Python.
2013-12-13 15:13:24 +01:00
Almar Klein 8fe7416d41 update-mcp: Add MCP_Connect class
This class finds the connections between the given seed points. This is
a bit similar to finding connections between start and end points, except
now start- and endpoints are the same.
2013-12-13 15:13:24 +01:00