Move package to skimage.future.graph

This commit is contained in:
Juan Nunez-Iglesias
2015-02-03 15:06:27 +11:00
parent 605f05942f
commit 1b748668ee
9 changed files with 13 additions and 5 deletions
View File
+12
View File
@@ -0,0 +1,12 @@
from .graph_cut import cut_threshold, cut_normalized
from .rag import rag_mean_color, RAG, draw_rag
from .graph_merge import merge_hierarchical
ncut = cut_normalized
__all__ = ['rag_mean_color',
'cut_threshold',
'cut_normalized',
'ncut',
'draw_rag',
'merge_hierarchical',
'RAG']
@@ -14,7 +14,7 @@ import numpy as np
from scipy.ndimage import filters
from scipy import ndimage as nd
import math
from .. import draw, measure, segmentation, util, color
from ... import draw, measure, segmentation, util, color
try:
from matplotlib import colors
from matplotlib import cm
-4
View File
@@ -1,9 +1,5 @@
from .spath import shortest_path
from .mcp import MCP, MCP_Geometric, MCP_Connect, MCP_Flexible, route_through_array
from .graph_cut import cut_threshold, cut_normalized
from .rag import rag_mean_color, RAG, draw_rag
from .graph_merge import merge_hierarchical
ncut = cut_normalized
__all__ = ['shortest_path',