[Insight-developers] periodic boundary condition

Joshua Cates cates@sci.utah.edu
Tue, 11 Feb 2003 13:06:11 -0700 (MST)


Sorry, here is the complete message:

Hi,

I am writing a periodic boundary condition object for the neighborhood
iterators.  This is class which returns out-of-bounds values
by "wrapping around" the image.

I'm looking for opinions on the following issue.  A neighborhood iterator
will only invoke the boundary condition if it finds itself touching an
edge of the Image::BufferedRegion.  My inclination is to wrap around the 
buffered region, regardless of the region over which the iterator was 
initialized.  Is there any reason to wrap over the intialized region 
instead?  Would it be useful to have the option to do both?

Josh.


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