Hi,
I have to measure the thickness of a segmented layer. Can anyone tell me how to measure it using Matlab.
Regards,
Siva

댓글 수: 5

Image Analyst
Image Analyst 2011년 12월 24일
Define "how." Have you tried the Image Processing Toolbox? Have you tried to hire a consultant? Have you uploaded your image anywhere? Have you tried any code at all? How can we help you? What does "help" look like to you? (Keep in mind what you have supplied us, so far.)
Walter Roberson
Walter Roberson 2011년 12월 24일
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2011년 12월 25일
Hi Image Analyst,
Thanks for writing. I got the output by writing code for segmentation. I have not uploaded any image so far. I am sorry to say that I cant understand the meaning of hire a consultant.
I am developing coding for the IEEE paper titled as " A Data Mining Approach for Dyslipidemia Disease Prediction Using Carotid
Arterial Feature Vectors". So far i obtained the segmentation part alone. I dono how to find the thickness of IMT layer.
Advance thanks for clarifying my doubt
Regards,
Siva,
vlsiva@yahoo.co.in
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일

0 개 추천

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
Sivakumaran Chandrasekaran 2011년 12월 25일
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개)

카테고리

도움말 센터File 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