MIRA
Namespaces | Functions
Saturate.h File Reference

Saturation function for limiting a value to an interval. More...

Go to the source code of this file.

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 

Functions

template<typename T >
const T & saturate (const T &value, const T &minValue, const T &maxValue)
 Saturate a value by limiting it to a certain interval. More...
 

Detailed Description

Saturation function for limiting a value to an interval.

Author
Tim Langner
Date
2010/11/08