필터 지우기
필터 지우기

Image segmentation and measure segmented features

조회 수: 2 (최근 30일)
Abhishek Saini
Abhishek Saini 2021년 10월 12일
댓글: Image Analyst 2021년 10월 18일
Hi all,
I want to perform image segmentation as described in the research articles in Fig 5 and 6. I have attached the figure from this article. Figure 59a) and 5(b) are the original images of the microstructure. Now I wan to perform
  1. segmentation as shown in figure 5(c) and 6(c) followed by overlaying the segmented image on originalimage.
  2. Measure te length and with of the segmented features with random line segments by calculating all line intercepts.
Thanks

답변 (1개)

Image Analyst
Image Analyst 2021년 10월 12일
I didn't read the whole article and can't program it up for you but with just a quick glance it looks like they're segmenting on different hues. So you could convert to HSV color space and get different "maps" for each hue by thresholding the hue channel
hsvImage = rgb2hsv(rgbImage);
hImage = hsvImage(:, :, 1);
color1 = hImage < 0.1;
color2 = hImage >= 0.1 & hImage < 0.2;
color3 = hImage >= 0.2 & hImage < 0.3;
% etc.
If youi want to fill holes of a certain size, or remove blobs less than a certain size, you could also do that with imfill() or bwareaopen().
  댓글 수: 8
Abhishek Saini
Abhishek Saini 2021년 10월 18일
Thanks @Image Analyst for the answere. I am wondering, how to determine the segmented feature dimensions here. I also tried to do segmentation, which looks promising too. The images are attached. Did you considered to calculate the length and width of the segmented feature?
Image Analyst
Image Analyst 2021년 10월 18일
You can get the dimensions using regionprops()
props = regionprops(mask, 'BoundingBox');
and/or bwferet().

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

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by