Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxImageAsVec2Double.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxImageAsVec2Double (HxImageRep img)
 Convert the pixel representation to HxVec2Double. More...


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxImageAsVec2Double HxImageRep    img
 

Convert the pixel representation to HxVec2Double.

Conversion is done via a cast.

00014 {
00015     HxImageSignature signature(HXIMAGESIG2DVEC2DOUBLE);
00016     signature.setImageDimensionality(img.dimensionality());
00017     return img.signature() == signature ?
00018             img : HxImageFactory::instance().fromImage(signature, img);
00019 }


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