Two methods :
The clean one : you specify the
normalization
parameter at the construction of theCImgDisplay
instance, like :CImgDisplay disp(img,"Title",normalization_type);
or
CImgDisplay disp(640,480,"Title",normalization_type);
The dirty one : you can also change the normalization type of an existing display directly by setting it like this :
disp._normalization = normalization_type;