![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Macros | |
#define | FAST_BLUR_5 |
#define | FAST_BLUR_9 |
Functions | |
void | dt_masks_extend_border (float *const restrict mask, const int width, const int height, const int border) |
void | _masks_blur_5x5_coeff (float *c, const float sigma) |
void | dt_masks_blur_9x9_coeff (float *c, const float sigma) |
void | dt_masks_blur_9x9 (float *const restrict src, float *const restrict out, const int width, const int height, const float sigma) |
void | _masks_blur_13x13_coeff (float *c, const float sigma) |
void | dt_masks_calc_rawdetail_mask (float *const restrict src, float *const restrict mask, float *const restrict tmp, const int width, const int height, const dt_aligned_pixel_t wb) |
static float | calcBlendFactor (float val, float threshold) |
void | dt_masks_calc_detail_mask (float *const restrict src, float *const restrict out, float *const restrict tmp, const int width, const int height, const float threshold, const gboolean detail) |
#define FAST_BLUR_5 |
#define FAST_BLUR_9 |
|
inlinestatic |
References dt_fast_expf().
Referenced by dt_masks_calc_detail_mask().
void dt_masks_blur_9x9 | ( | float *const restrict | src, |
float *const restrict | out, | ||
const int | width, | ||
const int | height, | ||
const float | sigma | ||
) |
References dt_masks_blur_9x9_coeff(), dt_masks_extend_border(), FAST_BLUR_9, height, w1, w2, w3, w4, and width.
Referenced by dt_masks_calc_detail_mask().
void dt_masks_blur_9x9_coeff | ( | float * | c, |
const float | sigma | ||
) |
References kernel(), and sqf().
Referenced by dt_masks_blur_9x9().
void dt_masks_calc_detail_mask | ( | float *const restrict | src, |
float *const restrict | out, | ||
float *const restrict | tmp, | ||
const int | width, | ||
const int | height, | ||
const float | threshold, | ||
const gboolean | detail | ||
) |
References calcBlendFactor(), dt_masks_blur_9x9(), height, and width.
void dt_masks_calc_rawdetail_mask | ( | float *const restrict | src, |
float *const restrict | mask, | ||
float *const restrict | tmp, | ||
const int | width, | ||
const int | height, | ||
const dt_aligned_pixel_t | wb | ||
) |
References dt_masks_extend_border(), height, sqf(), and width.
void dt_masks_extend_border | ( | float *const restrict | mask, |
const int | width, | ||
const int | height, | ||
const int | border | ||
) |
References height, MAX, MIN, and width.
Referenced by dt_masks_blur_9x9(), and dt_masks_calc_rawdetail_mask().