필터 지우기
필터 지우기

Having a slice(medical image), how can i find out the radii and area of sphere using region props

조회 수: 1 (최근 30일)
I have a slice and it contains center points of 4 spheres...The spheres are of different radii.. how can i find the radii and area of each sphere?
  댓글 수: 1
Image Analyst
Image Analyst 2015년 12월 3일
Depends on the format. Maybe you can use dicomread(). But somehow you need to get a reader for your data files. I don't have one.

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

채택된 답변

Image Analyst
Image Analyst 2015년 12월 3일
This is done in my image Segmentation Tutorial with coins. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Just ask regionprops to get the area and 'EquivDiameter'
measurements = regionprops(CC, 'Area', 'EquivDiameter');
  댓글 수: 5
MoonPie1
MoonPie1 2015년 12월 9일
편집: MoonPie1 2015년 12월 9일
1. How to sustain required elements and delete unnecessary elements from an array? 2. I have 4 values of connected components, how to display them as an image?
Image Analyst
Image Analyst 2015년 12월 9일
  1. My demo shows you how to select certain blobs based on some criteria like area. Did you see that code?
  2. I'm not sure what you're asking. What is "4 values of connected components". I show you how to get the connected components, labeled image and display it in both grayscale and with different colors for each individual blob. What do you want and why isn't my code doing it?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by