Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

In/Out pixel operation

The pattern loops (a number of times) over all pixels in the image and fetches/offers each pixel from/to a pixel functor. With the In variation of the pattern the pixel functor is asked to produce a pixel value for each position in the image. With the Out variation of the pattern the pixel functor is offered the pixel value at each position to do something with it.

Instantiations of the pattern are invoked via

Instantiation is done via the HxImgFtorInOut functor, with the following template parameters: The requirements for the InOutT parameter and an example of its use are given in the sections on variations: Tags for InOutT variations: For further reference :
Return to patterns.


Generated on Tue Feb 3 14:19:12 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001