Update histogram. now it is based on the PlaYUVerStats
This commit is contained in:
1 parent
013eb9610c
commit
7f45d3c858
10 files changed
+135
-1016
No files matched your search
+7
-15
@@ -31,14 +31,13 @@
|
||||
#include <QWidget>
|
||||
#include <QColor>
|
||||
#include "lib/PlaYUVerFrame.h"
|
||||
#include "PlaYUVerFrameStatistics.h"
|
||||
|
||||
class QEvent;
|
||||
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
class PlaYUVerFrameStatistics;
|
||||
class HistogramWorker;
|
||||
class HistogramWidgetPrivate;
|
||||
|
||||
class HistogramWidget: public QWidget
|
||||
@@ -118,20 +117,11 @@ public :
|
||||
/** Stop current histogram computations.*/
|
||||
Void stopHistogramComputation();
|
||||
|
||||
/** Update full image histogram data methods.*/
|
||||
Void updateData( Pel ***imageData, UInt imageWidth, UInt imageHeight,
|
||||
Int bitsPerChannel, Int colorSpace, UInt chroma_size,
|
||||
Pel ***selData = 0, UInt selWidth = 0, UInt selHeight = 0);
|
||||
|
||||
/** Update full image histogram data from SImage.*/
|
||||
Void updateData( const PlaYUVerFrame *playuver_frame, const PlaYUVerFrame *playuver_selection );
|
||||
|
||||
/** Update image selection histogram data methods.*/
|
||||
Void updateSelectionData( Pel ***selData, uint selWidth, uint selHeight,
|
||||
Int bitsPerChannel, Int colorSpace, UInt chroma_size );
|
||||
Void updateData( const PlaYUVerFrame *pcFrame, const PlaYUVerFrame *pcFrameSelection );
|
||||
|
||||
/** Update image selection histogram data from SImage.*/
|
||||
Void updateSelectionData( const PlaYUVerFrame *imageSelection );
|
||||
Void updateSelectionData( const PlaYUVerFrame *pcFrameSelection );
|
||||
|
||||
/** @see @p HistogramOption */
|
||||
Void setOptions( HistogramOptions options = AllOptions );
|
||||
@@ -153,9 +143,11 @@ public:
|
||||
Int m_renderingType;
|
||||
|
||||
/** Full image */
|
||||
PlaYUVerFrameStatistics *m_imageHistogram;
|
||||
HistogramWorker* m_imageWorker;
|
||||
PlaYUVerFrameStats* m_imageHistogram;
|
||||
/** Histogram area selection */
|
||||
PlaYUVerFrameStatistics *m_selectionHistogram;
|
||||
HistogramWorker* m_selectionWorker;
|
||||
PlaYUVerFrameStats* m_selectionHistogram;
|
||||
|
||||
Q_SIGNALS:
|
||||
void signalIntervalChanged( int min, int max );
|
||||
|
||||
Reference in new issue
Block a user