[Insight-developers] points in regions

Joshua Cates cates@cs.utah.edu
Wed, 3 Apr 2002 10:28:41 -0700 (MST)


Hi,

This functionality is not ready yet, but if there is specific need for it
now I can find some time to work on it.

Josh.

______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@cs.utah.edu
 Phone: (801) 587-7697
 URL:   www.cs.utk.edu/~cates


On Wed, 3 Apr 2002, Miller, James V (CRD) wrote:

> In general the Neighborhoods and NeighborhoodIterators are the way to 
> go.  I think Josh adding an ability to skip indices within the neighborhood.
> Don't know if this is ready yet.
> 
> Using the SmartNeighborhoodIterators you can manage the boundary conditions
> properly.  You can look at the itkMeanImageFilter or filters that use
> the NeighborhoodOperatorFilter for examples.
> 
> 
> -----Original Message-----
> From: Brian B Avants [mailto:avants@grasp.cis.upenn.edu]
> Sent: Wednesday, April 03, 2002 1:02 AM
> To: insight-developers@public.kitware.com
> Subject: [Insight-developers] points in regions
> 
> 
> 
> Hello,
> 
> I have a question wrt subsets of regions.
> 
> What is the right (itk) way to define some irregular (i.e. not expressible
> by some simple function) subset of a region?
> 
> Currently, I simply define the exact indices I want, e.g. for a 3x3
> region, i may want only indices 0, 5 and 8.  Then those indices are kept
> in a vector which is used to access the specific points in the region.
> 
> This is fine everywhere, except near borders where the indices do not
> correspond to the same points in the region.  I always define a buffer
> around the image to eliminate this issue.
> 
> 
> Is there a better way?
> 
> Thanks
> 
> Brian
> 
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>