슈퍼픽셀과 분할

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...