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