[Insight-users] Using itkDeformableMesh3DFilter

Thomas Boettger t.boettger at dkfz-heidelberg.de
Fri, 26 Mar 2004 13:33:49 +0100


This is a multi-part message in MIME format.
--------------090607090706090409090604
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi Pingkun, hello everybody,

the mesh source is in fact not producing a very regular mesh. I faced 
the same problems with the cell density around the poles. I can offer 
you a itkRegularSphereMeshSource.

If it was of general interest I could contribute this class to the 
toolkit. Right now it is not documented very well and the cells are 
produced in an inefficient way.

I am sending it to you anyway. I hope this can solve at least one of 
your problems.


Regards,

Thomas


To the ITK DEVELOPERS: Tell me if there is an interest/need for the 
class and what needs to be changed in the code/documentation.



Yan Pingkun wrote:
> Hi all,
> 
> I'm using itkDeformableMesh3DFilter to segment 3D object from volumetric
> images. To test the algorithm, I prepare some synthetic volumetric
> images with very simple object in the center. I followed the steps in
> the example DeformableModel2.cxx.
> However, I found that the initial mesh is hardly to snap on the surface
> of the object. In fact, the result changes very slightly from the
> initialization. I have changed the parameters within a large range, but
> the situation doesn't improve.
> 
> Now I have several questions.
> 1) Which paper is the algorithm based on? Some code segments look
> strange as indicated by Thomas Boettger in the mailing list.
> 
> 2) Is there any better way to initialize the mesh? Because I found that
> the mesh produced by using the SphereSource has too many cells near the
> poles. This may hinder the mesh to deform because it will produce large
> internal force.
> 
> 3) Can any one with successful experience on the filter share his
> experience?
> 
> Thanks a lot!
> 
> Regards,
> Pingkun
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


-- 
Dipl.-Inform. Thomas Boettger
Deutsches Krebsforschungszentrum         (German Cancer Research Center)
Div. Medical and Biological Informatics B010    Tel: (+49) 6221-42 2328
Im Neuenheimer Feld 280                          Fax: (+49) 6221-42 2345
D-69120 Heidelberg                            e-mail: t.boettger at dkfz.de
Germany                      http://www.dkfz.de/mbi/people/thomasb.shtml


--------------090607090706090409090604
Content-Type: application/x-zip-compressed;
 name="code_RegularSphereMeshSource.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="code_RegularSphereMeshSource.zip"

UEsDBBQAAAAIAFtrejBNfuv57gEAAA0FAAAiAAAAaXRrUmVndWxhclNwaGVyZU1lc2hTb3Vy
Y2VUZXN0LmNwcH2U32vbQAzH3wv9H4QD49JmJaVlHY6bl64be0g74qwvIZSrLSfHzj846ygh
9H/f3dlxm9guxhikj6SvpDsPRBJjAs+z8O756X5+ejIoFF+nHF65ykS2BgaxKPmLRPDh+ub7
NxgaBrNYJKcn9hmILJI6RvAE/ZthubnYeEfWOa615CosNqjQImGuVYRt8AcmXEsKiZOILLhQ
XFDpwA9oIPKSFPJ0as0iI+gvssCSmEFGEG24OoPlyjaws4EAtC3Qdm/Cff9PbrAgkTmn0dUU
IHGGhUEmLdbmr1EwrJPaCfaoCvYRtk5L8j5Tp6cWigog3R4DcNsX9ICvbFhlbfqCCG2iSf29
+CmkZONjyvefuNQuDZQRl/g7E7S8Wplau8uRed6O0zrKuBvaAfZtK/46DZHuXH1Wyajq95Bz
LHOpSeQZu/wUDG1t5hRYro+c5eYgC4xZf7K/RcwJ2T5LSbHvR7kmCALw2gE+eNbTdjRD2O/+
fZPp1trMxLrq/0J61FRoaiT0HMVpndDtAODw+H7wFNTZir0p9sJ/dm7BM6QLM38AWe09V8xd
wdvxBERQteJUP+j0BdVjdTBKox7E+fkQdtWgG8y5mRjBl4KqLRzqcv6lG6pwhlU94sL5D9W8
dfcF91ncoV0haZXB2M3DhP4HUEsDBBQAAAAIACJrejDob3+J2QUAAOgPAAAcAAAAaXRrUmVn
dWxhclNwaGVyZU1lc2hTb3VyY2UuaK1XbW/aSBD+jsR/GKVVD1IO0qhXnQitxJH2gi5vwm6r
SpWixR7wXm2vtbuGoKr3229mjbGBkLanIx+y9s48Oy/PzI57x6//r1+z0WwA3Go11yLpA8A4
NXIeWfBwnmBqhZUqhWcwwbk0VhePvlLxF2lZ80qFeYysCE8nI28m+UHaLySfx0J7W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