I\'m trying to use the Eigen library for some simple image processing. I\'d use Array3f for an RGB triple and an Array to hold an RGB image. This seems to work partially, an
I think Eigen was not meant to be used in this way (with vectors as "scalar" types). I don't know what causes some of the expressions to compile, but for the ones that don't, it's because Eigen sees a +
operation on two Array
s, with the left Array's scalar = Array3f
, right Array's scalar = float
and flags it incompatible.