mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-25 13:30:51 +08:00
@@ -12,7 +12,8 @@ References
|
||||
Pattern Analysis and Machine Intelligence,
|
||||
IEEE Transactions on, vol. 22, no. 8, pp. 888-905, August 2000.
|
||||
"""
|
||||
from skimage import graph, data, io, segmentation, color
|
||||
from skimage import data, io, segmentation, color
|
||||
from skimage.future import graph
|
||||
from matplotlib import pyplot as plt
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ The example below also shows how to use a custom function to select the larger
|
||||
weight instead.
|
||||
|
||||
"""
|
||||
from skimage.graph import rag
|
||||
from skimage.future.graph import rag
|
||||
import networkx as nx
|
||||
from matplotlib import pyplot as plt
|
||||
import numpy as np
|
||||
|
||||
@@ -6,7 +6,8 @@ Drawing Region Adjacency Graphs (RAGs)
|
||||
This example constructs a Region Adjacency Graph (RAG) and draws it with
|
||||
the `rag_draw` method.
|
||||
"""
|
||||
from skimage import graph, data, segmentation
|
||||
from skimage import data, segmentation
|
||||
from skimage.future import graph
|
||||
from matplotlib import pyplot as plt, colors
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ difference in mean color. We then join regions with similar mean color.
|
||||
|
||||
"""
|
||||
|
||||
from skimage import graph, data, io, segmentation, color
|
||||
from skimage import data, io, segmentation, color
|
||||
from skimage.future import graph
|
||||
from matplotlib import pyplot as plt
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,8 @@ until no highly similar region pairs remain.
|
||||
|
||||
"""
|
||||
|
||||
from skimage import graph, data, io, segmentation, color
|
||||
from skimage import data, io, segmentation, color
|
||||
from skimage.future import graph
|
||||
import numpy as np
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user