Improve histogram measurement and display.
Now it is possible to show histogram of luminance in RGB frames
This commit is contained in:
13 files changed
+463
-600
No files matched your search
@@ -43,20 +43,6 @@ class HistogramWidget : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum HistogramChannel
|
||||
{
|
||||
/** Luminance */
|
||||
// LumaHistogram = 0,
|
||||
/** Channels */
|
||||
FirstChannelHistogram = 0,
|
||||
SecondChannelHistogram,
|
||||
ThirdChannelHistogram,
|
||||
/** Alpha channel */
|
||||
AlphaChannelHistogram,
|
||||
/** All color channels */
|
||||
ColorChannelsHistogram,
|
||||
};
|
||||
|
||||
enum HistogramScale
|
||||
{
|
||||
/** Linear scale */
|
||||
@@ -65,14 +51,6 @@ public:
|
||||
LogScaleHistogram
|
||||
};
|
||||
|
||||
enum HistogramAllColorMode
|
||||
{
|
||||
// Select wich component is shown in foreground
|
||||
FirstChannelColor,
|
||||
SecondChannelColor,
|
||||
ThirdChannelColor,
|
||||
};
|
||||
|
||||
enum HistogramRendering
|
||||
{
|
||||
/** Full image histogram rendering */
|
||||
|
||||
Reference in new issue
Block a user