#include <colour_properties_tool.h>
Inheritance diagram for mimas::colour_properties_tool< T >:


Public Member Functions | |
| colour_properties_tool (void) | |
| void | brightness (image< rgba< T > > &im, double brightval) |
| brightval is from -1.0 (darkest) to 1.0 (lightest). Values outside this range are extrapolated | |
| void | saturation (image< rgba< T > > &im, double satval) |
| satval is from -1.0 (grayest) to 0.0 (normal) to >0.0 (saturated). Values outside this range are extrapolated | |
| void | contrast (image< rgba< T > > &im, double contval) |
| contval is from -1.0 (lowest) to 0.0 (normal) to >0.0 (contrasty). Values outside this range are extrapolated | |
| void | setChannel (image< rgba< T > > &im, T val, const char *channel) |
| set channel "R","G","B","A" or multiplicates (e.g. "RGB") to val | |
Definition at line 18 of file colour_properties_tool.h.
| mimas::colour_properties_tool< T >::colour_properties_tool | ( | void | ) | [inline] |
Definition at line 24 of file colour_properties_tool.h.
| void mimas::colour_properties_tool< T >::brightness | ( | image< rgba< T > > & | im, | |
| double | brightval | |||
| ) |
brightval is from -1.0 (darkest) to 1.0 (lightest). Values outside this range are extrapolated
Definition at line 61 of file colour_properties_tool.h.
References mimas::image_ref< T >::fill(), and mimas::image< T >::init().
Here is the call graph for this function:

| void mimas::colour_properties_tool< T >::saturation | ( | image< rgba< T > > & | im, | |
| double | satval | |||
| ) |
satval is from -1.0 (grayest) to 0.0 (normal) to >0.0 (saturated). Values outside this range are extrapolated
Definition at line 88 of file colour_properties_tool.h.
References mimas::const_image_ref< T, T * >::getHeight(), mimas::const_image_ref< T, T * >::getWidth(), and mimas::image_ref< T >::pixel().
Here is the call graph for this function:

| void mimas::colour_properties_tool< T >::contrast | ( | image< rgba< T > > & | im, | |
| double | contval | |||
| ) |
contval is from -1.0 (lowest) to 0.0 (normal) to >0.0 (contrasty). Values outside this range are extrapolated
Definition at line 113 of file colour_properties_tool.h.
References mimas::image_ref< T >::fill(), and mimas::image< T >::init().
Here is the call graph for this function:

| void mimas::colour_properties_tool< T >::setChannel | ( | image< rgba< T > > & | im, | |
| T | val, | |||
| const char * | channel | |||
| ) |
set channel "R","G","B","A" or multiplicates (e.g. "RGB") to val
Definition at line 128 of file colour_properties_tool.h.
References MMERROR.