ifw-odp
2.0.0-alpha
|
#include "clipm_priv_vgit.h"
#include "clipm_math.h"
#include "clipm_math_rng.h"
#include "clipm_compatibility_replacements.h"
#include "clipm_priv_error.h"
#include "clipm_priv_image.h"
Macros | |
#define | clipm_priv_vgit_BODY(TYPE) |
Functions | |
cpl_image * | clipm_priv_vgit_get_noise_dark (cpl_size xsize, cpl_size ysize) |
Generate a background for the VGI Transformation. More... | |
cpl_image * | clipm_priv_vgit (const cpl_image *gradient_angles, const cpl_image *absolute_gradient, int nr_angle_bins, double angle_tolerance, int use_median, int correct_background) |
Perform the Vector Gradient Intersection Transform (VGIT). More... | |
#define clipm_priv_vgit_BODY | ( | TYPE | ) |
cpl_image* clipm_priv_vgit | ( | const cpl_image * | gradient_angles, |
const cpl_image * | absolute_gradient, | ||
int | nr_angle_bins, | ||
double | angle_tolerance, | ||
int | use_median, | ||
int | correct_background | ||
) |
Perform the Vector Gradient Intersection Transform (VGIT).
gradient_angles | Image containing a gradient angle field |
absolute_gradient | Image containing an absolute gradients field |
nr_angle_bins | Number of angle bins per quadrant |
angle_tolerance | Angular deviation sigma to be taken into account |
use_median | Flag whether the result should be combined by taking the mean of the angle bins (0), or by taking the median of the angle bins (!= 0) |
correct_background | Flag whether to subtract the background noise probability |
cpl_image* clipm_priv_vgit_get_noise_dark | ( | cpl_size | xsize, |
cpl_size | ysize | ||
) |
Generate a background for the VGI Transformation.
xsize | Horizontal image size |
ysize | Vertical image size |