Home
last modified time | relevance | path

Searched refs:band_hist (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/py-gphoto2/gphoto2-2.2.4/examples/
H A Dfocus-gui.py292 band_hist = histogram[start:stop]
293 max_value = float(1 + max(band_hist))
294 for x in range(len(band_hist)):
295 y = float(1 + band_hist[x]) / max_value
299 clipping.append(band_hist[-1])
/dports/graphics/darktable/darktable-3.6.1/src/iop/
H A Dequalizer.c76 float band_hist[DT_IOP_EQUALIZER_BANDS]; member
162 c->band_hist[band] = 0.0f; in process()
167 …for(int j=0; j<height; j+=step) for(int i=step/2; i<width; i+=step) c->band_hist[band] += out… in process()
168 …for(int j=step/2; j<height; j+=step) for(int i=0; i<width; i+=step) c->band_hist[band] += out… in process()
169 …for(int j=step/2; j<height; j+=step) for(int i=step/2; i<width; i+=step) c->band_hist[band] += out… in process()
175 if(cnt[i]) c->band_hist[i] /= cnt[i]; in process()
176 else c->band_hist[i] = 0.0; in process()
177 c->band_max = fmaxf(c->band_max, c->band_hist[i]); in process()
503 for(int k=0; k<DT_IOP_EQUALIZER_BANDS; k++) cairo_line_to(cr, k, c->band_hist[k]);
H A Datrous.c103 float band_hist[MAX_NUM_SCALES]; member
1198 for(int k = 0; k < BANDS; k++) cairo_line_to(cr, k, c->band_hist[k]); in area_draw()
/dports/graphics/darktable38/darktable-3.8.0/src/iop/
H A Dequalizer.c76 float band_hist[DT_IOP_EQUALIZER_BANDS]; member
162 c->band_hist[band] = 0.0f; in process()
167 …for(int j=0; j<height; j+=step) for(int i=step/2; i<width; i+=step) c->band_hist[band] += out… in process()
168 …for(int j=step/2; j<height; j+=step) for(int i=0; i<width; i+=step) c->band_hist[band] += out… in process()
169 …for(int j=step/2; j<height; j+=step) for(int i=step/2; i<width; i+=step) c->band_hist[band] += out… in process()
175 if(cnt[i]) c->band_hist[i] /= cnt[i]; in process()
176 else c->band_hist[i] = 0.0; in process()
177 c->band_max = fmaxf(c->band_max, c->band_hist[i]); in process()
503 for(int k=0; k<DT_IOP_EQUALIZER_BANDS; k++) cairo_line_to(cr, k, c->band_hist[k]);
H A Datrous.c103 float band_hist[MAX_NUM_SCALES]; member
1198 for(int k = 0; k < BANDS; k++) cairo_line_to(cr, k, c->band_hist[k]); in area_draw()