필터 지우기
필터 지우기

How to merge super pixels to get bigger region segmentation

조회 수: 6 (최근 30일)
TAUSEEF KHAN
TAUSEEF KHAN 2018년 11월 28일
댓글: Image Analyst 2020년 12월 21일
I have a input color image. I have already segment the image using super pixel function and divide the region into 500 superpixels. Now i can see that boundary of each objects are properly segmented. So i want to merge adjacent superpixels using some homogenity. How to merge superpixels to get large region based on some homogenous chracateristics. please help me out.
I have attached a image with superpixels based segmentation. Now how to merge adjacent superpixels based on some homogenity.

답변 (2개)

Asma Semche
Asma Semche 2019년 1월 29일
I am, kind of, doing the same thing, I want to use the Bhattacharyya distance in order to merge segments.
The thing is, I can't find a way, yet, to regroup pixel intensity of the borders in a commun matrix.
I'd be happy if we can solve your problem and mine, together.
  댓글 수: 1
MB11
MB11 2019년 3월 16일
Even I need to do the same with Bhattarcharya coefficient. Have either of you found any solution?

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2020년 12월 10일
Not so easy, and not unique. What if region A is close enough to region B to merge, and then what if region B is close enough to another adjacent region C to merge. But what if region A is not similar enough to region C to be considered the same. If you merged B with both A and C you're going to have dissimilar regions merged into the same region. Do you just merge ONE of the regions into B -- the closest one? But then I can see that the output you'd get would depend on the ORDER that you merge the regions. If you started merging with one region, you may end up with a completely different output than if you started with some other region. What do you plan to do in that case? Anyway, why do you want to merge them anyway? Maybe you can just use multithresh() to control what similar regions get grouped together. What is your use case?
  댓글 수: 5
MatlabUser
MatlabUser 2020년 12월 21일
How can I use linear discriminant analysis if the segmentation is unsupervised, I wanted to be automatic
Image Analyst
Image Analyst 2020년 12월 21일
Try imsegkmeans() or rgb2ind(), but you have to know how many different color classes you want.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by