ISOSURFACE: identifying the connected faces

조회 수: 7 (최근 30일)
AP
AP 2012년 10월 19일
댓글: naomy_yf 2022년 10월 31일
Dear All,
I have extracted the isosurfaces of variable "A" in a 3D volume data. For a specific value of "A", say A=1, I get three connected series of faces which are separated from each other. In other words, there are three different and isolated regions in the domain where A=1.
I am trying to identify these three regions and save them into three different variables. I would be grateful if someone could give me a hint on how I can achieve this goal.
Thanks,
Ahmad
  댓글 수: 2
Sean de Wolski
Sean de Wolski 2012년 10월 19일
What do you plan to do with these variables after?
AP
AP 2012년 10월 19일
편집: AP 2012년 10월 19일
The domain that I have has noise in it. So, when I plot an isosurface of some value, I get a few little islands in the plot beside the main one. I want to have the biggest isosurface. This may be solved by smoothing but I want to avoid using it as it changes my results.

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

답변 (2개)

Matt J
Matt J 2012년 10월 19일
Use BWCONNCOMP or REGIONPROPS
  댓글 수: 10
AP
AP 2012년 10월 22일
I had tested this before by defining a tolerance but unfortunately I don't get the results of S.PixelList similar to that of isosurface function.
Can I send you the MAT file? You may find the source of discrepancy.
naomy_yf
naomy_yf 2022년 10월 31일
regionprops is the precondition for using BWCONNCOMP

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


Sachin Ganjare
Sachin Ganjare 2012년 10월 19일

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by