Medical Image processing

2 次查看(过去 30 天)
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
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
Walter Roberson 2014-1-24
Saranya, I recommend using a separate Question for this.

请先登录,再进行评论。

采纳的回答

Walter Roberson
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 个评论
Sivakumaran Chandrasekaran
Hi Walter,
Thanks for writing. I need to found the thickness in terms of centimetres.
Regarding thickness, consider a graph which has x axes= 0 1 2 3 4 5; y axes=0 1 2 3 4 5;
The starting point is at x=0,y=2;x=0;y=4;
The end point is x=4,y=2;x=4;y=4;
Hope you got my point clearly. Or think as if you kept a rectangle object in the graph. how to measure a pixel. Because it shows 3 values. RGB.
Walter Roberson
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 CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by