[Insight-users] Which types of meshes can
DeformableModelSimplexMesh load?
Leila baghdadi
baghdadi at sickkids.ca
Fri Oct 14 11:20:39 EDT 2005
Marcus,
I setup a little help document which you should be able to load and get
the information you require, but it is probably not as comprehensive as
one would hope mainly due to lack of time.
1. currently, there is no support for loading an actual mesh to this
program although it is in my to do list,
2. you can read a binary image which is then sent to vtk marching cubes
filter to create a mesh so that is why itkImageFileReader is used
because you are supposed to read an image (not a mesh)
3. you can load your image (i.e, MR or which modality) and then try to
load your mesh over it (i.e, read the binary image which represents your
initial model of the mesh)
4. right now you can load a 3d image (check the itk documentation and I
believe I do have a little test file as well), your image should have
two components,
-- *.mhd (text file , header containing the name of the raw image)
-- *.raw
5. I suggest you read through the references that help provides and make
sure you are familiar with the concept of simplex meshes and their
corresponding deformable models which was originally introduced by
Herve Delingette of INRIA, France.
Please let me know of any problems,
enjoy ITK!
Leila
On Fri, 2005-10-14 at 17:07 +0200, Marcus Wallin wrote:
> Hi,
>
> I'm trying to get the DeformableModelSimplexMesh (in ITKApplications) to
> load a mesh. The mesh I have is exported from Amira and is in STL ascii
> format (I have tried a few other formats as well with the same result).
>
> However, regardless of what type I choose for my mesh, it seems it cannot be
> imported in DeformableModelSimplexMesh. What happens is that the program
> dies and says that no supported file type was selected. The reason for this
> is that the program uses itkImageFileReader, and of course this reader
> cannot read the mesh since it is not an image.
>
> So, what format does DeformableModelSimplexMesh require of the mesh to load
> properly?
>
> I also wonder how the DeformableModelSimplexMesh is supposed to be able to
> deform a mesh, assuming a mesh is loaded successfully, if only one image can
> be loaded at a time? Is the image required to be a 3D-image or how can I go
> about to load a set of CT-slices that I have at hand?
>
> Thanks,
>
> --
> Marcus Wallin
> Software Engineer
> Chalmers University of Technology, Sweden
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
--
Leila baghdadi <baghdadi at sickkids.ca>
More information about the Insight-users
mailing list