31 unsigned long i, x, y;
32 double rx, ry, a, r, rmax(256);
37 for ( i=y=0; y<p->
sizeY(); y++ ) {
39 for ( x=0; x<p->
sizeX(); x++, i++ ) {
42 r = sqrt(rx*rx + ry*ry);
Header file for general utilities.
Functions to handle RGB images.
General image parameter class.
Bimage * img_phase_colour_wheel()
Generates a phase color wheel.
double batan2(double y, double x)
Sets small values to zero before calling atan2.
Header file for trigonometry functions.
void origin(double x, double y, double z)
void set(size_t j, double v)
Sets a single value at the given index.
void phase(double phi, double amp_ratio)