Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: isosurface visualization

Subject: isosurface visualization

From: misty m.

Date: 16 May, 2008 08:56:03

Message: 1 of 4

hi,
i would like to do some 3d volume visualization. i have CT
images of drilled (in a bone) hole.
from each of images i've found contours of drilled hole-so
i've got (x,y) coefficients of each hole. i decided the
distance between holes = 1. so i've got 3d coeffiecients
for my solid, x,y-coefs of hole and z-distance.
i would like to do the visualization using 'isosurface',
cause i like its effects most, but..

fv = isosurface(X,Y,Z,V,isovalue)

X,Y,Z - i've got
V - i do not have volume
isovalue - what describes it? what value should it have?

i would be really gratefull for any suggestions,
 kind regards

Subject: Re: isosurface visualization

From: Michael Garrity

Date: 16 May, 2008 12:52:24

Message: 2 of 4

"misty m." <donotspam@smth.be> wrote in message news:g0ji72$1o5$1@fred.mathworks.com...
> hi,
> i would like to do some 3d volume visualization. i have CT
> images of drilled (in a bone) hole.
> from each of images i've found contours of drilled hole-so
> i've got (x,y) coefficients of each hole. i decided the
> distance between holes = 1. so i've got 3d coeffiecients
> for my solid, x,y-coefs of hole and z-distance.
> i would like to do the visualization using 'isosurface',
> cause i like its effects most, but..
>
> fv = isosurface(X,Y,Z,V,isovalue)
>
> X,Y,Z - i've got
> V - i do not have volume
> isovalue - what describes it? what value should it have?
>
> i would be really gratefull for any suggestions,
> kind regards

No, isosurface works directly from the CT images. You stack
them up to form a 3D array V, and then give that to isosurface.
The isovalue is the level at which you've drawn your contours.

I don't know of a MATLAB function for building a surface
between a set of contours. There are some tricky cases there
when you have a different number of sample points in adjacent
contours or when the topology changes between contours.

    -MPG-


Subject: Re: isosurface visualization

From: mark b.

Date: 16 May, 2008 13:11:01

Message: 3 of 4

that explains a lot!
thanks!

Subject: Re: isosurface visualization

From: misty m.

Date: 16 May, 2008 13:34:02

Message: 4 of 4

ok, so is there any function that can gives similar effects
as isosurface but fot x,y,z coeffiecients?
when i try surf:
[A,B,C]=meshgrid(a,b,c)
(where a,b,c are my coeffiecients)
surf(A,B,C) i got:
??? CData must be an M-by-N matrix or M-by-N-by-3 array.

Error in ==> surf at 81
    hh = double(graph3d.surfaceplot(args{:},'parent',cax));

i think that my main problem is that i do not clearly
understand what 'meshgrid' is for. if i have a,b,c coefs
why do i need to do any matrixes? i have a mesh of my
coefs, why can't i simply put them into surf() or mesh()
function?

the other thing is that i've found such a function
surf2patch. it returned me:
   faces: [9216x4 double]
           vertices: [9409x3 double]
    facevertexcdata: [9409x1 double]

can You please explain me, what are these? can i use them
to plot my solid?

kind regards

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics