No subject


Wed Oct 7 22:37:18 EDT 2009


My first thought has been to use only the boundaries of my object by buildi=
ng a vtkImageData with only this information on it. The result is not bad b=
ut I haven't enough point/surface on the volume.
Then, I have thought to build a binary volume with only the object (object =
=3D 1, other voxel =3D 0). The result is better but still not perfect.
The last thing I have been trying, is to build a volume from the raw inform=
ation by keeping only the voxel where the object is (ie object =3D raw pixe=
l value, other voxel =3D 0).

Which solution is the best to your mind?=20
How to parameterize vtkMarchingCubes to have the best result ?

Indeed, I'm not sure to understand the option of it:
1 - what does SetValue(int contourNumber, double value) ? This give the val=
ue "value" when vtkMarchingCubes find the contour number contourNumber ?
2 - what does exactly GenerateValues(int numberOfContours, double valueBegi=
n, valueEnd) ?

In fact, I guess I don't really get the notion of several contours ?

I hope that I have been clear enough in my explaination.
By the way, if you know some other methods (other than vtkMarchingCubes) to=
 do such thing, please let me know.
=0A
Thank you for your help
Best
James


=0A=0A=0A      
--0-213360597-1266328619=:75801
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;">Hi all,<br><br>I would like to build and disp=
lay a 3D volume from a CT Dicom series. I have found a solution through vtk=
MarchingCubes but I'm quite lost in the use of this class and I would like =
to optimize this solution to get better result.<br><br>First of all, I have=
 been able to build a 3D volume using a vtkImageData representing all the s=
lices in my series. Then, I have extracted the volume of interest using ITK=
 and as a result, I have a vtkImageData with only the ROI (it represents a =
single object). I have also the boundaries of this objects on each slice.<b=
r>From there, how could I use vtkMarchingCubes to build a 3D volume?<br>My =
first thought has been to use only the boundaries of my object by building =
a vtkImageData with only this information on it. The result is not bad but =
I haven't enough point/surface on the volume.<br>Then, I have thought to bu=
ild
 a binary volume with only the object (object =3D 1, other voxel =3D 0). Th=
e result is better but still not perfect.<br>The last thing I have been try=
ing, is to build a volume from the raw information by keeping only the voxe=
l where the object is (ie object =3D raw pixel value, other voxel =3D 0).<b=
r><br>Which solution is the best to your mind? <br>How to <span id=3D"resul=
t_box" class=3D"short_text"><span style=3D"background-color: rgb(235, 239, =
249);" title=3D"parametrer">parameterize vtkMarchingCubes to have the best =
result ?<br><br>Indeed, I'm not sure to understand the option of it:<br>1 -=
 what does SetValue(int contourNumber, double value) ? This give the value =
"value" when vtkMarchingCubes find the contour number contourNumber ?<br>2 =
- what does exactly GenerateValues(int numberOfContours, double valueBegin,=
 valueEnd) ?<br><br>In fact, I guess I don't really get the notion of sever=
al contours ?<br><br>I hope that I have been clear enough in my explainatio=
n.<br>By
 the way, </span></span>if you know some other methods (other than vtkMarch=
ingCubes) to do such thing, please let me know.<br>=0A<br><span id=3D"resul=
t_box" class=3D"short_text"><span style=3D"background-color: rgb(235, 239, =
249);" title=3D"parametrer">Thank you for your help<br>Best<br>James<br></s=
pan></span><br><br></td></tr></table><br>=0A=0A=0A=0A=0A      
--0-213360597-1266328619=:75801--


More information about the vtkusers mailing list