![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/imagebuf.h"
Include dependency graph for distance_transform.h:Go to the source code of this file.
Macros | |
| #define | DT_DISTANCE_TRANSFORM_MAX (1e20) |
Typedefs | |
| typedef enum dt_distance_transform_t | dt_distance_transform_t |
Enumerations | |
| enum | dt_distance_transform_t { DT_DISTANCE_TRANSFORM_NONE = 0 , DT_DISTANCE_TRANSFORM_MASK = 1 } |
Functions | |
| static void | _image_distance_transform (const float *f, float *z, float *d, int *v, const int n) |
| float | dt_image_distance_transform (float *const restrict src, float *const restrict out, const size_t width, const size_t height, const float clip, const dt_distance_transform_t mode) |
| #define DT_DISTANCE_TRANSFORM_MAX (1e20) |
Definition at line 66 of file distance_transform.h.
| typedef enum dt_distance_transform_t dt_distance_transform_t |
| Enumerator | |
|---|---|
| DT_DISTANCE_TRANSFORM_NONE | |
| DT_DISTANCE_TRANSFORM_MASK | |
Definition at line 60 of file distance_transform.h.
|
static |
Definition at line 68 of file distance_transform.h.
References d, DT_DISTANCE_TRANSFORM_MAX, f, k, n, and v.
Referenced by dt_image_distance_transform().
| float dt_image_distance_transform | ( | float *const restrict | src, |
| float *const restrict | out, | ||
| const size_t | width, | ||
| const size_t | height, | ||
| const float | clip, | ||
| const dt_distance_transform_t | mode | ||
| ) |
Definition at line 98 of file distance_transform.h.
References __OMP_FOR_SIMD__, _image_distance_transform(), d, DT_DISTANCE_TRANSFORM_MASK, DT_DISTANCE_TRANSFORM_MAX, DT_DISTANCE_TRANSFORM_NONE, dt_iop_image_fill(), dt_pixelpipe_cache_alloc_align_cache, dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, f, height, i, MAX, out, v, width, and x.