[Insight-users] DeformableMesh3DFilter example doesn't change input
Luis Ibanez
luis.ibanez at kitware.com
Sat Aug 15 14:10:10 EDT 2009
Hi Benjamin,
Thanks for sharing the images.
Please find attached a modified version of the deformable model
example that will read your mask, extract an isosurface from it and
pass the data to the deformable model filter.
With this code we have reproduced your observation that the
surface doesn't propagate with the current parameters.
We are now trying with the filter
itkDeformableSimplexMesh3DGradientConstraintForceFilter.h
which is more commonly used...
Regards,
Luis,
-----------------------------------------
On Thu, Aug 13, 2009 at 9:05 AM, Benjamin Klimczak <klimczaks at gmx.de> wrote:
> Hi Luis,
>
> thank you for the answer and I'm sorry for the late reply.
> I tried the suggested values from DeformableModel2.cxx in
> DeformableModel1.cxx, but still nothing is changed by the filter.
> I have uploaded the data I use here (image and segmentation):
>
> http://www.lfb.rwth-aachen.de/public/aorta_img.vtk
> http://www.lfb.rwth-aachen.de/public/aorta_seg.vtk
>
> I'm working with the MITK btw. and have created the segmentation with its
> GUI application.
>
> Any hint why this isn't working would be welcome.
>
> Thanks a lot,
> Benjamin
>
>
> -------- Original-Nachricht --------
> > Datum: Sat, 8 Aug 2009 11:13:23 -0400
> > Von: Luis Ibanez <luis.ibanez at kitware.com>
> > An: Benjamin Klimczak <klimczaks at gmx.de>
> > CC: insight-users at itk.org
> > Betreff: Re: [Insight-users] DeformableMesh3DFilter example doesn\'t
> change input
>
> > Hi Benjamin,
> >
> > Please look at the suggested values in DeformableModel2.cxx
> >
> > If that still doesn't work for you, we may need to have access to
> > the image that you are using to give you more guidance.
> >
> >
> > Regards,
> >
> >
> > Luis
> >
> >
> >
> -----------------------------------------------------------------------------------------
> > On Fri, Aug 7, 2009 at 6:01 AM, Benjamin Klimczak <klimczaks at gmx.de>
> > wrote:
> >
> > > Hello everybody.
> > >
> > > I can't get the DeformableMesh3DFilter from the example
> > > Examples/Segmentation/DeformableModel1.cxx to change my input data.
> > Input
> > > and output mesh are identical. I have tried different input files and
> > > extreme settings of the parameters but nothing seems to work.
> > >
> > > Thanks for any help.
> > >
> > > Regards
> > > Benjamin
> > > --
> > > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
> 3
> > -
> > > sicherer, schneller und einfacher!
> http://portal.gmx.net/de/go/atbrowser
> > > _____________________________________
> > > Powered by www.kitware.com
> > >
> > > Visit other Kitware open-source projects at
> > > http://www.kitware.com/opensource/opensource.html
> > >
> > > Please keep messages on-topic and check the ITK FAQ at:
> > > http://www.itk.org/Wiki/ITK_FAQ
> > >
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.itk.org/mailman/listinfo/insight-users
> > >
>
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090815/a2a9f230/attachment.htm>
-------------- next part --------------
# This is the root ITK CMakeLists file.
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
# This project is designed to be built outside the Insight source tree.
PROJECT(DeformableModel3)
FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})
INCLUDE(CTest)
FIND_PATH(DATA_DIR
aorta_img.vtk
PATHS ${CMAKE_SOURCE_DIR}
DOC "Directory where data is located"
)
ADD_EXECUTABLE(DeformableModel3 DeformableModel3.cxx )
TARGET_LINK_LIBRARIES(DeformableModel3 ITKIO ITKCommon)
ADD_TEST(Deformation1
DeformableModel3
${DATA_DIR}/aorta_img.vtk # input image
${DATA_DIR}/aorta_seg.vtk # input mask
${DATA_DIR}/initialMesh.vtk # mesh from input mask
${DATA_DIR}/finalMesh.vtk # deformed mesh
2.5 # 5x pixel spacing
100 # number of iterations
0.1 # time step
10 # external force scale
0.1 # stiffness
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DeformableModel3.cxx
Type: text/x-c++src
Size: 6252 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090815/a2a9f230/attachment.cxx>
More information about the Insight-users
mailing list