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

HxLUT.h File Reference

More...

#include "HxImageRep.h"
#include <map>
#include <vector>

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxLUT (HxImageRep im, std::map< int, int > *lut)
 this function implements the Look Up Table (LUT) operation the user has to prepare the map of equivalences. More...

HxImageRep L_HXIMAGEREP HxLUT (HxImageRep im, std::vector< int > *lut)


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxLUT HxImageRep    im,
std::map< int, int > *    lut
 

this function implements the Look Up Table (LUT) operation the user has to prepare the map of equivalences.

<oldValue, newValue> pass the pointer to this map<int,int> Remark: for 3DByte pixel type, we encode the 3 values into an int as: (z<<16) | (y<<8) | x

DK NOTE : function crashses when called from outside the hximagerep dll. probably because the mp access functions are not declared with the proper linkage specification.

DK NOTE : for some reason (?) the result obtained from the map is clipped


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