|
Bsoft
1.9
Bernard's software package
|
Functions to handle RGB images. More...
Go to the source code of this file.
Functions | |
| Bimage * | img_phase_colour_wheel () |
| Generates a phase color wheel. More... | |
Variables | |
| int | verbose |
Functions to handle RGB images.
Definition in file img_colour.cpp.
| Bimage* img_phase_colour_wheel | ( | ) |
Generates a phase color wheel.
A new image is generated and written (ps_color_wheel.png, 512x512), where
a coordinate (x,y) is converted to polar form:
a = arctan(y/x)
r = sqrt(x^2+y^2)
The color is a function of the angle a and saturation is a function
of the distance from the origin. Definition at line 29 of file img_colour.cpp.
| int verbose |