finding the volume of the pores in the 3D image

조회 수: 9 (최근 30일)
ramakrishna bathini
ramakrishna bathini 2011년 2월 7일
HI this is RK .I am working on a project for geo science.my job is to find the porosity of a Basalt rock.I have been given a task of stacking 2d images to form 3D image and to find the porosity of that 3D rock(Basalt rock)..the rock looks exactly like a swisscheese....
http://www.jlfstone.com/images/lavastone/LavaStone.jpg
http://www.istockphoto.com/file_thumbview_approve/11517171/2/istockphoto_11517171-swiss-cheese-slice.jpg
http://abcnews.go.com/images/Health/nm_swiss_cheese_081125_main.jpg
I am new to matlab.can anybody help me how to start with .or any functions of matlab which will be useful in my project...

채택된 답변

Sean de Wolski
Sean de Wolski 2011년 2월 7일
Upper threshold the gray scale image. To find a threshold I would recommend starting with Otsu's method.
I = your_image;
lvl = graythresh(I);
Ipores = ~im2bw(I,lvl); %invert to pores are true
Then porosity and all pore statistics can be calculated by doing a connected components analysis and regionprops
CC = bwconncomp(Ipores);%default 26 connectivity
RP = regionprops(CC); %doc regionprops to find out various things.
Good Luck!
-Sean
  댓글 수: 6
Sean de Wolski
Sean de Wolski 2011년 2월 7일
What do you mean by "erase"? My above comment removes all non-pores.
ramakrishna bathini
ramakrishna bathini 2011년 2월 7일
actually its not displaying only pores...can i mail you my outputs???

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fractals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by