Struct AutoExposure

Struct Documentation

struct AutoExposure

Public Functions

inline void operator()(Eigen::Ref<Eigen::ArrayXd> key_eigen)

scales the image so that contrast is stretched between 0 and 1, so that the top percentile is 1 - percentile and the bottom percentile is percentile. Analogous to imagemagick’s -contrast-stretch operation

Parameters:

key_eigen – Reference to image, modified in place