Function clamp

Clamp pixels luminance to a specified range

SuperImage clamp (
  SuperImage img,
  float minv,
  float maxv
);