
Definition in file GaborSnake.C.
#include "Psycho/GaborSnake.H"
#include "Image/geom.h"
#include "Image/vec2.h"
#include "Util/Assert.H"
#include "Util/log.H"
#include "rutz/rand.h"
#include <algorithm>
#include <cmath>
Include dependency graph for GaborSnake.C:

Go to the source code of this file.
Functions | |
| void | pickRandom4 (int length, int i[], rutz::urand &urand) |
| Tuple4 | getEdgeLengths (const vec2d no[4]) |
| Tuple4 | getThetas (const vec2d no[4]) |
| Tuple4 | getAlphas (const Tuple4 &theta) |
| bool | squashQuadrangle (const vec2d &old_0, const vec2d &old_1, const vec2d &old_2, const vec2d &old_3, vec2d *new_0, vec2d *new_1, vec2d *new_2, vec2d *new_3, double new_theta) |
| bool | deltaTooBig (const Tuple4 &delta) |
| bool | acceptNewDelta (const Tuple4 &newdelta, const Tuple4 &olddelta, rutz::urand &urand) |
Variables | |
| const double | MAX_DELTA = M_PI/4.0 |
| const double | TEMPERATURE = 0.05 |
| const double | INITIAL_INCREMENT = 0.1 |
1.4.4