Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
box_filters.h File Reference
#include <stdlib.h>
+ Include dependency graph for box_filters.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOX_ITERATIONS   8
 
#define BOXFILTER_KAHAN_SUM   0x1000000
 

Functions

void dt_box_mean (float *const buf, const size_t height, const size_t width, const int ch, const int radius, const unsigned interations)
 
void dt_box_mean_horizontal (float *const restrict buf, const size_t width, const int ch, const int radius, float *const restrict scratch)
 
void dt_box_mean_vertical (float *const buf, const size_t height, const size_t width, const int ch, const int radius)
 
void dt_box_min (float *const buf, const size_t height, const size_t width, const int ch, const int radius)
 
void dt_box_max (float *const buf, const size_t height, const size_t width, const int ch, const int radius)
 

Macro Definition Documentation

◆ BOX_ITERATIONS

#define BOX_ITERATIONS   8

◆ BOXFILTER_KAHAN_SUM

#define BOXFILTER_KAHAN_SUM   0x1000000

Function Documentation

◆ dt_box_max()

void dt_box_max ( float *const  buf,
const size_t  height,
const size_t  width,
const int  ch,
const int  radius 
)
Todo:
: 4ch version if needed

References box_max_1ch(), dt_unreachable_codepath, height, and width.

Referenced by transition_map().

◆ dt_box_mean()

void dt_box_mean ( float *const  buf,
const size_t  height,
const size_t  width,
const int  ch,
const int  radius,
const unsigned  interations 
)

◆ dt_box_mean_horizontal()

void dt_box_mean_horizontal ( float *const restrict  buf,
const size_t  width,
const int  ch,
const int  radius,
float *const restrict  scratch 
)

◆ dt_box_mean_vertical()

void dt_box_mean_vertical ( float *const  buf,
const size_t  height,
const size_t  width,
const int  ch,
const int  radius 
)

◆ dt_box_min()

void dt_box_min ( float *const  buf,
const size_t  height,
const size_t  width,
const int  ch,
const int  radius 
)
Todo:
: 4ch version if needed

References box_min_1ch(), dt_unreachable_codepath, height, and width.

Referenced by dark_channel(), and process().