[Insight-developers] Moved MeshSource and MeshToMeshFilter

Luis Ibanez ibanez@cs.unc.edu
Mon, 15 Oct 2001 17:49:28 -0400


Jim, Will

Great, that's more consistent.


BTW 
I added an ImageToMeshFilter in Code/BasicFilters. 
Should it also be moved to Code/Common ?

It is currently deriving from itkProcessObject,
but maybe it should derive from itkMeshSource.
It wasn't clear to me what to do with the methods
that take care of the regions for because the mix
of Mesh::Region with Image::Region didn't make
much sense.

An instantiation of this filter is used for
itkImageToParametricSpaceFilter which takes three
images and use the gray level of the pixels as
coordinates for points in a 3D parametric space,
which are set as the points of the Mesh.

It produces a number of points = to the number
of pixels in the images (which should be all of 
the same size). For each point:

 X coordinates are the gray levels of image1
 Y coordinates are the gray levels of image2
 Z coordinates are the gray levels of image3


That's seems like something suitable for streaming,
but I didn't see a clear way to do it because of the
mix between region types.


 This filter is now being used in 
 Examples/Curves2DExtractor



 Luis

----------------------------------------

Will Schroeder wrote:
> 
> Hi Folks-
> 
> I've moved MeshSource and MeshToMeshFilter from BasicFilters/ to Common/. This was done for consistency with ImageSource and ImageToImageFilter. Let me know if you see any problems.
> 
> Will
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers

-- 
Luis Ibanez                                      CB#:   7060
Research Assistan Professor                      phone: (919) 843 5436
Division of Neurosurgery                         fax:   (919) 966 6627
University of North Carolina at Chapel Hill      email:
ibanez@cs.unc.edu
Chapel Hill, NC 27599-7060                      
http://www.cs.unc.edu/~ibanez