#include <math.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <iostream>#include <fstream>#include <string>#include <queue>#include <stack>#include <vector>#include <algorithm>#include <sstream>

Go to the source code of this file.
Classes | |
| class | motld::Matrix |
| datastructure for images (greyscale or single color) More... | |
| struct | motld::ObjectBox |
| datastructure linking objects to their (possible) location More... | |
Namespaces | |
| namespace | motld |
Defines | |
| #define | MAXF(a, b, c, d) MAX(MAX(a,b),MAX(c,d)) |
| #define | MINF(a, b, c, d) MIN(MIN(a,b),MIN(c,d)) |
Functions | |
| int * | motld::getSATIndices (int width, int x1, int y1, int x2, int y2) |
| void | motld::getSATIndices (int *array, int width, int x1, int y1, int x2, int y2) |
| int * | motld::getSATIndices (int width, int boxw, int boxh) |
| Matrix | motld::operator* (const Matrix &m1, const Matrix &m2) |
| Matrix product. | |
| std::ostream & | motld::operator<< (std::ostream &aStream, const Matrix &aMatrix) |
| Provides basic output functionality (only appropriate for small matrices) | |
| float | motld::rectangleOverlap (float minx1, float miny1, float maxx1, float maxy1, float minx2, float miny2, float maxx2, float maxy2) |
| float | motld::rectangleOverlap (const ObjectBox &a, const ObjectBox &b) |
| double | motld::summedTableArea (float *sat, int width, int x1, int y1, int x2, int y2) |
| double | motld::summedTableArea (const float *const sat, int *indices) |
| void | motld::writePPM (const char *filename, const Matrix &rMatrix, const Matrix &gMatrix, const Matrix &bMatrix) |
| Outputs an RGB image in PPM format. | |