Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxSquaredDistance.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxSquaredDistance (HxImageRep im1, HxImageRep im2)
 Squared distance. More...


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxSquaredDistance HxImageRep    im1,
HxImageRep    im2
 

Squared distance.

The function computes the squared distance of all corresponding pixels in the input images via a binary pixel operation.

Implementation specifics : The pixel functor : HxBpoSqrDst. The image functor instantiator : HxInstantiatorSqrDst.

00100 {
00101     // call HxImageRep member function to do the image processing
00102     return im1.binaryPixOp(im2, "sqrDst");
00103 }


Generated on Tue Jan 8 13:59:21 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001