The Wayback Machine - https://web.archive.org/web/20200712042731/https://github.com/topics/histogram
Skip to content
#

histogram

Here are 334 public repositories matching this topic...

Zyl9393
Zyl9393 commented Jul 13, 2019

Gamma correction is among the things most often done wrong by graphics programming novices. It's almost as bad as missing scene-related color transforms and linear volume sliders in the average video game. The code example in the readme should definitely mention to adjust.Gamma(img, 1/2.2) before doing any color mixing and adjust.Gamma(img, 2.2) before saving back to file (for as long as _bild

michaeljclark
michaeljclark commented Sep 24, 2016

The JIT API currently just checks instruction operands and emits the instruction.

  • Add simple buffer implementation to collect JIT output
  • Add support for labels, and link step
  • Add mprotect handling (W^X) so output JIT can be executed
  • Add host ABI trampoline for calling JIT with arguments and return value
HDembinski
HDembinski commented Mar 27, 2019

Histograms are often used to compute efficiencies in HEP. This is best done with a dedicated accumulator, to avoid filling two separate histograms. If one uses two histograms, the bin lookup is done twice instead of once.

Code could look like this:

auto h = make_histogram_with(dense_storage<accumulator::efficiency<>>(), axis::regular<>(10, 0, 1));

h(0.1, sample(false)); // didn't 

Improve this page

Add a description, image, and links to the histogram topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the histogram topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.