![]() |
appkit
1.5.1
RoadNarrows Robotics Application Kit
|
Windowing utilities. More...
#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "opencv/cv.h"#include "opencv/highgui.h"#include "rnr/rnrWin.h"Go to the source code of this file.
Functions | |
| void | ApplyColorGradient (IplImage *pImg, int red, int green, int blue) |
| Apply color gradient to image. More... | |
Windowing utilities.
Definition in file WinGtkUtil.cxx.
| void ApplyColorGradient | ( | IplImage * | pImg, |
| int | red, | ||
| int | green, | ||
| int | blue | ||
| ) |
Apply color gradient to image.
The gradient ranges from black to the given color, given the intensity of each pixel in the unaltered image.
| [in,out] | pImg | Pointer to image to change. |
| red | 8-bit red component of RGB. | |
| green | 8-bit green component of RGB. | |
| blue | 8-bit blue component of RGB. |
Definition at line 78 of file WinGtkUtil.cxx.