[Insight-developers] Quick Q: Boundary Behavior of NeighborhoodIterator in ThreadedGenerateData?

Williams, Norman K norman-k-williams at uiowa.edu
Thu Aug 18 15:51:41 EDT 2011


I'm working on multi-threading a filter, and have a question about what
happens with NeighborhoodIterators.

When you're inside ThreadedGenerateData, you're operationg on the pixels
in the outputRegionForThread.

If I set up a neighborhood iterator on the input to the filter thusly:

  ConstNeighborhoodIterator<InputImageType> it(
m_NeighborhoodRadius,inputImage,outputRegionForThread );

Does the Neighborhood Iterator see a boundary at the edge of the entire
input image, or at the edge of the thread's region?



--
Kent Williams norman-k-williams at uiowa.edu






________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-developers mailing list