17 namespace GeometryInfo
34 std::vector<size_t>
lut;
76 const size_t sizeOfSrc,
77 const size_t nSrcCols,
78 const bool convertFromCheetahToCASS);
96 const size_t sizeOfSrc,
97 const size_t nSrcCols,
98 const bool convertFromCheetahToCASS);
pos_t minus(const pos_t &minuent, const pos_t &subtrahend)
functor to substract one position from the other
std::vector< pos_t > conversion_t
define the conversion table type
conversion_t generateConversionMap(const std::string &filename, const size_t sizeOfSrc, const size_t nSrcCols, const bool convertFromCheetahToCASS)
parse the geom file and generate a lookup table
combine the position in the lab into a struct
size_t linearizeComponents(const pos_t &pos, const size_t nCols)
convert index with 2 components into a linearized index
combine info needed for the lookuptable
std::vector< size_t > lut
lookupTable_t generateLookupTable(const std::string &filename, const size_t sizeOfSrc, const size_t nSrcCols, const bool convertFromCheetahToCASS)
generate a lookup table for a new image