#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
HxImageRep L_HXIMAGEREP | HxImageAsDouble (HxImageRep img) |
Convert the pixel representation to double. More... |
|
Convert the pixel representation to double. Conversion is done via a cast.
00014 { 00015 HxImageSignature signature(HXIMAGESIG2DDOUBLE); 00016 signature.setImageDimensionality(img.dimensionality()); 00017 return img.signature() == signature ? 00018 img : HxImageFactory::instance().fromImage(signature, img); 00019 } |