24 #ifndef VIGRA_EXT_EMOR_H
25 #define VIGRA_EXT_EMOR_H
31 #include <vigra/numerictraits.hxx>
41 extern IMPEX double h[25][1024];
43 template <
class VECTOR>
44 inline void createEMoRLUT(
const std::vector<float> & params, VECTOR & lut)
46 typedef typename VECTOR::value_type VT;
51 size_t nDim = params.size();
54 for (
int i=0; i<1024; ++i) {
56 for (
size_t j=0; j < nDim; j++) {
59 lut[i] = vigra::NumericTraits<VT>::fromRealPromote(t*s);
66 #endif // VIGRA_EXT_VIGNETTING_CORRECTION_H
functions to manage ROI's
void createEMoRLUT(const std::vector< float > ¶ms, VECTOR &lut)
std::vector< float > EMoR