![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"
#include "common/imagebuf.h"
#include "control/control.h"
#include "develop/imageop.h"
#include "dwt.h"
Functions | |
dwt_params_t * | dt_dwt_init (float *image, const int width, const int height, const int ch, const int scales, const int return_layer, const int merge_from_scale, void *user_data, const float preview_scale, const int use_sse) |
void | dt_dwt_free (dwt_params_t *p) |
static int | _get_max_scale (const int width, const int height, const float preview_scale) |
int | dwt_get_max_scale (dwt_params_t *p) |
static int | _first_scale_visible (const int num_scales, const float preview_scale) |
int | dt_dwt_first_scale_visible (dwt_params_t *p) |
static void | dwt_get_image_layer (float *const layer, dwt_params_t *const p) |
static void | dwt_decompose_vert (float *const restrict out, const float *const restrict in, const size_t height, const size_t width, const size_t lev) |
static void | dwt_decompose_horiz (float *const restrict out, float *const restrict in, float *const temp, const size_t height, const size_t width, const size_t lev) |
static void | dwt_decompose_layer (float *const restrict out, float *const restrict in, float *const temp, const int lev, const dwt_params_t *const p) |
static void | dwt_wavelet_decompose (float *img, dwt_params_t *const p, _dwt_layer_func layer_func) |
void | dwt_decompose (dwt_params_t *p, _dwt_layer_func layer_func) |
static void | dwt_denoise_vert_1ch (float *const restrict out, const float *const restrict in, const size_t height, const size_t width, const size_t lev) |
static void | dwt_denoise_horiz_1ch (float *const restrict out, float *const restrict in, float *const restrict accum, const size_t height, const size_t width, const size_t lev, const float thold, const int last) |
void | dwt_denoise (float *const img, const int width, const int height, const int bands, const float *const noise) |
|
static |
Referenced by dt_dwt_first_scale_visible().
|
static |
References height, MIN, size, and width.
Referenced by dwt_get_max_scale().
int dt_dwt_first_scale_visible | ( | dwt_params_t * | p | ) |
References _first_scale_visible().
Referenced by process_internal().
void dt_dwt_free | ( | dwt_params_t * | p | ) |
Referenced by process_internal().
dwt_params_t * dt_dwt_init | ( | float * | image, |
const int | width, | ||
const int | height, | ||
const int | ch, | ||
const int | scales, | ||
const int | return_layer, | ||
const int | merge_from_scale, | ||
void * | user_data, | ||
const float | preview_scale, | ||
const int | use_sse | ||
) |
Referenced by process_internal().
void dwt_decompose | ( | dwt_params_t * | p, |
_dwt_layer_func | layer_func | ||
) |
References dwt_get_max_scale(), and dwt_wavelet_decompose().
Referenced by process_internal().
|
static |
References dt_get_thread_num(), for_each_channel, height, MIN, and width.
Referenced by dwt_decompose_layer().
|
static |
References dwt_decompose_horiz(), and dwt_decompose_vert().
Referenced by dwt_wavelet_decompose().
|
static |
References dwt_interleave_rows(), for_each_channel, height, MIN, and width.
Referenced by dwt_decompose_layer().
void dwt_denoise | ( | float *const | img, |
const int | width, | ||
const int | height, | ||
const int | bands, | ||
const float *const | noise | ||
) |
References dt_alloc_align_float(), dt_free_align, dt_iop_image_fill(), dwt_denoise_horiz_1ch(), dwt_denoise_vert_1ch(), height, and width.
Referenced by wavelet_denoise(), and wavelet_denoise_xtrans().
|
static |
References height, MAX, MIN, and width.
Referenced by dwt_denoise().
|
static |
References dwt_interleave_rows(), height, MIN, and width.
Referenced by dwt_denoise().
|
static |
Referenced by dwt_wavelet_decompose().
int dwt_get_max_scale | ( | dwt_params_t * | p | ) |
References _get_max_scale().
Referenced by dwt_decompose(), and process_internal().
|
static |
References cleanup(), darktable, dt_alloc_align_float(), dt_free_align, dt_iop_image_add_image(), dt_iop_image_fill(), dwt_decompose_layer(), dwt_get_image_layer(), darktable_t::num_openmp_threads, and size.
Referenced by dwt_decompose().