필터 지우기
필터 지우기

Is it possible to set a maximum size of watershed regions? Or easily divide the regions after watershedding?

조회 수: 3 (최근 30일)
I am doing some cell segmentation. I have a code that finds groups of cells with fairly high accuracy. Once the regions are found I use watershedding to separate touching cells. This also works well, however some cells are definitely too large to be just one cell. My question is: Can I set a maximum size each watershed region can be so that larger clumps will split into smaller ones?
Note: I do not care about the number of cells on their own (otherwise I would just divide each region's area by the maximum cell area). I want to separate these clumps so that I can determine how close cells are to the airways (yellow) in the image (i.e. how many cells "belong" to each airway).
I have attached my original image as well as the processed image with the cell regions and airways overlayed in blue and yellow respectively.
Thank you in advanced for the help!
Eric

답변 (1개)

Image Analyst
Image Analyst 2018년 7월 12일
Not sure how you define distance. Would bwdist() help? Or how about the Hausdorf distance https://en.wikipedia.org/wiki/Hausdorff_distance ?
Also not sure how you define which yellow blob the blue blobs "belong" to.
  댓글 수: 4
Eric Chadwick
Eric Chadwick 2018년 7월 18일
편집: Eric Chadwick 2018년 7월 18일
Hi there.
I checked out these links, but I can't seem to get them to work for my problem. I've created the seeds I want to use for watershed, but whenever I try the methods you suggest, I get a blank image. I have attached my image of seeds as well as the original I am trying to watershed.

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

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by