スーパー画素とセグメンテーション

Pythonで学ぶ画像処理

Rebeca Gonzalez

Data Engineer

セグメンテーション

Pythonで学ぶ画像処理

セグメンテーション

Pythonで学ぶ画像処理

画像表現

Pythonで学ぶ画像処理

スーパー画素

Pythonで学ぶ画像処理

スーパー画素の利点

  • より意味のある領域
  • 計算効率の向上
Pythonで学ぶ画像処理

セグメンテーション

  • 教師あり
  • 教師なし

Pythonで学ぶ画像処理

教師なしセグメンテーション

Simple Linear Iterative Clustering (SLIC)

Pythonで学ぶ画像処理

教師なしセグメンテーション(SLIC)

# Import the modules
from skimage.segmentation import slic
from skimage.color import label2rgb

# Obtain the segments segments = slic(image)
# Put segments on top of original image to compare segmented_image = label2rgb(segments, image, kind='avg')
show_image(image) show_image(segmented_image, "Segmented image")
Pythonで学ぶ画像処理

教師なしセグメンテーション(SLIC)

Pythonで学ぶ画像処理

セグメント数を増やす

# Import the modules
from skimage.segmentation import slic
from skimage.color import label2rgb

# Obtain the segmentation with 300 regions segments = slic(image, n_segments= 300) # Put segments on top of original image to compare segmented_image = label2rgb(segments, image, kind='avg')
show_image(segmented_image)
Pythonで学ぶ画像処理

セグメント数を増やす

Pythonで学ぶ画像処理

演習に進みましょう!

Pythonで学ぶ画像処理

Preparing Video For Download...