Medical Image processing
조회 수: 2 (최근 30일)
이전 댓글 표시
Sivakumaran Chandrasekaran
2011년 12월 24일
댓글: Walter Roberson
2014년 1월 24일
Hi,
I have to measure the thickness of a segmented layer. Can anyone tell me how to measure it using Matlab.
Regards,
Siva
댓글 수: 5
Saranya
2014년 1월 24일
Hi Image analyst, In my project i want to measure the thickness of a single chromosome so that i can find the centromere location( where the thickness is shorter). I am in need of matlab coding for measuring the thickness..
Can you help me.
채택된 답변
Walter Roberson
2011년 12월 24일
Thickness in what units of measure? Unless you have extra information about the correspondence between image size and some physical object, the only thing that you can measure is pixels.
How is thickness to be defined? Is the thickness to be measured relative to the X or Y axes, or are you looking to find the length of a line that cuts across the image at an arbitrary angle? If so then what is the criteria that decides where the line goes?
댓글 수: 2
Walter Roberson
2011년 12월 25일
Do you need to measure in terms of centimeters as shown on the screen, or in terms of centimeters "in real life" ?
Centimeters "in real life" requires extra information about real-world sizes. See http://www.mathworks.com/matlabcentral/answers/18380-getting-x-and-y-for-3d
Centimeters "on the screen" is one of those things that looks like it should be easy, but in practice is a complete mess. I describe some of the difficulties at http://www.mathworks.com/matlabcentral/newsreader/view_thread/281774
To determine the pixel dimensions of an object, you can isolate the object, convert it to black and white (white == pixels that are part of the object, black == pixels that are not part of the object), and then you can use the Image Processing Toolbox regionprops() routine.
The particular case of rectangles aligned with the axis is easy: just find() the last pixel along the row (or column) that is set, and find() the first pixel along the row (or column) that is set, and do a subtraction to get the width (or height) in pixels.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!