X-Ray image conversion to greyscale area coverage

Hi Guys,
I have a X-Ray image and am wanting to quantify the different grey regions to get area of coverage. Any ideas how i would go about this?
Thanks

 采纳的回答

Try imhist() or mean2(). Also see my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

3 个评论

Thanks for the info, managed to get it with the following command,
I=imread('a.tif'); imhist(I)
Is there anyway of setting a loop if I have several images to plot and also how do I label the axis.
Finally, how do I watch your video, is it a actual video or a MATLAB editor?
Thanks
I referred you to my File Exchange where I have several m-files that you can download to do various things like gray scale image segmentation, and color detection. There is no video, just m-files that you download and run.

请先登录,再进行评论。

更多回答(1 个)

But it depends how you want to handle different grey levels. Should a pixel be counted as either covered (1) or not covered (0), or should the brightness of the pixel correspond to the density and you want to find the average "weight" of the area ?

1 个评论

Hi Walter,
I'm new to MATLAB. Essentially I have a 512 x 512 X-Ray image, and when I run the command imread('image') I get various grey scale intensities ranging from 0-255.
I want to know quantify the relative amounts either individual values or ranges of say 10 (0-10,11-20...etc) to see the change in grey scale intensity for a stack of X-Ray scans I have by plotting a graph.
Hope I made sense, and I greatly appreciate your help.
Syed

请先登录,再进行评论。

类别

帮助中心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