MATLAB Answers


ISOSURFACE: identifying the connected faces

Asked by AP
on 19 Oct 2012

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.




Sean de Wolski
on 19 Oct 2012

What do you plan to do with these variables after?

on 19 Oct 2012

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.


No products are associated with this question.

2 Answers

Matt J
Answer by Matt J
on 19 Oct 2012



on 22 Oct 2012

I think the way isosurface function works is different from setting A==1.

Can I send you the MAT file? For A==1 I get nothing as the result of S.PixelList although I can see two separate surfaces in the plot.

Matt J
on 22 Oct 2012

Well how do you find the isosurface? If it isn't A==1, I assume it's something like

A<=1.5 & A>=0.5

or some other logical test.

on 22 Oct 2012

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.

Answer by PG
on 19 Oct 2012


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!