#include <vector>#include <cmath>#include "image.h"#include "misc.h"#include "convolve.h"#include "imconv.h"

Go to the source code of this file.
Defines | |
| #define | MAKE_FILTER(name, fun) |
| #define | WIDTH 4.0 |
Functions | |
| static image< float > * | laplacian (image< float > *src) |
| MAKE_FILTER (fgauss, exp(-0.5 *square(i/sigma))) | |
| static void | normalize (std::vector< float > &mask) |
| static image< float > * | smooth (image< float > *src, float sigma) |
| image< float > * | smooth (image< uchar > *src, float sigma) |
| #define MAKE_FILTER | ( | name, | |
| fun | |||
| ) |
| MAKE_FILTER | ( | fgauss | , |
| exp(-0.5 *square(i/sigma)) | |||
| ) |
| static void normalize | ( | std::vector< float > & | mask | ) | [static] |