This is an example I got somewhere. It does DDT. More...
#include "preh.h"#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>#include <CGAL/triangulation_assertions.h>#include <CGAL/Point_3.h>#include <CGAL/Segment_3.h>#include <CGAL/Triangle_3.h>#include <CGAL/predicates/kernel_ftC2.h>#include <CGAL/Delaunay_triangulation_2.h>#include <CGAL/squared_distance_2.h>#include <utility>#include <CGAL/Iterator_project.h>#include <CGAL/Polygon_2.h>#include <CGAL/number_utils_classes.h>#include <CGAL/basic.h>#include <CGAL/double.h>#include <CGAL/point_generators_2.h>#include <CGAL/algorithm.h>#include <CGAL/Origin.h>#include <fstream>#include <iostream>#include <algorithm>#include <functional>#include <vector>#include <CGAL/Cartesian.h>#include "opencv2/core/core_c.h"#include "opencv2/core/core.hpp"#include "opencv2/imgproc/types_c.h"#include "opencv2/imgproc/imgproc.hpp"#include "opencv2/imgproc/imgproc_c.h"#include "opencv2/features2d/features2d.hpp"#include <math.h>#include <string.h>#include "opencv2/highgui/highgui_c.h"#include "opencv2/highgui/highgui.hpp"#include <assert.h>#include "cv.h"#include "highgui.h"#include "freeglut_std.h"

Go to the source code of this file.
Functions | |
| IplImage * | ddt (IplImage *src, int ratio) |
| void | display () |
| void | init (void) |
| int | interpolation_gl () |
| int | main (int argc, char **argv) |
| void | onKeyPress (unsigned char key, int x, int y) |
| void | reshape (int w, int h) |
| int | wraper (Point_value_map *values, IplImage *src, int ratio) |
Variables | |
| Delaunay | dt |
| IplImage * | grab = NULL |
| GLuint | mode |
| int | ratio = 1 |
| IplImage * | res = NULL |
| IplImage * | src = NULL |
This is an example I got somewhere. It does DDT.
Definition in file ddt.cpp.
| int wraper | ( | Point_value_map * | values, | |
| IplImage * | src, | |||
| int | ratio | |||
| ) |