MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / IPHistogramWidget

Method IPHistogramWidget

ImagePlay/src/IPHistogramWidget.cpp:22–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "IPHistogramWidget.h"
21
22IPHistogramWidget::IPHistogramWidget(QWidget *parent) :
23 QWidget(parent)
24{
25 _bins = 0;
26 _planes = 0;
27 _logarithmic = false;
28 _hightlightPosition = -1;
29
30 _histogram.reset(NULL);
31 _histogramR.reset(NULL);
32 _histogramG.reset(NULL);
33 _histogramB.reset(NULL);
34
35 _type = IPL_UNDEFINED;
36
37 setCursor(Qt::BlankCursor);
38 setMouseTracking(true);
39}
40
41void IPHistogramWidget::updateHistogram(IPLImage *image)
42{

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected