#include <kis_basic_histogram_producers.h>
Public Member Functions | |
| virtual void | addRegionToBin (TQ_UINT8 *pixels, TQ_UINT8 *selectionMask, TQ_UINT32 nPixels, KisColorSpace *colorSpace) |
| virtual TQString | positionToString (double pos) const |
| virtual double | maximalZoom () const |
| virtual TQValueVector< KisChannelInfo * > | channels () |
Protected Attributes | |
| TQValueVector< KisChannelInfo * > | m_channelsList |
Detailed Description
This is a Producer (with associated factory) that converts the pixels of the colorspace to L*a*b*, and then does its counting.
It isCompatibleWith all colorspaces
Definition at line 171 of file kis_basic_histogram_producers.h.
Constructor & Destructor Documentation
◆ KisGenericLabHistogramProducer()
| KisGenericLabHistogramProducer::KisGenericLabHistogramProducer | ( | ) |
Definition at line 410 of file kis_basic_histogram_producers.cpp.
◆ ~KisGenericLabHistogramProducer()
|
virtual |
Definition at line 424 of file kis_basic_histogram_producers.cpp.
Member Function Documentation
◆ addRegionToBin()
|
virtual |
Adds the values from the specified array of pixels to the bins – does not reset anything.
- Parameters
-
pixels A pointer an array of pixeldata in the given colorspace selectionMask a pointer to an array of bytes, where 0 is unselected and 1-255 is degree of selectedness. The array must be just as long as the array of pixels. nPixels The number of pixels colorSpace the colorspace that can decode the pixel data.
Implements KisHistogramProducer.
Definition at line 444 of file kis_basic_histogram_producers.cpp.
◆ channels()
|
virtual |
Implements KisHistogramProducer.
Definition at line 431 of file kis_basic_histogram_producers.cpp.
◆ maximalZoom()
|
virtual |
Implements KisHistogramProducer.
Definition at line 439 of file kis_basic_histogram_producers.cpp.
◆ positionToString()
|
virtual |
Implements KisHistogramProducer.
Definition at line 435 of file kis_basic_histogram_producers.cpp.
Member Data Documentation
◆ m_channelsList
|
protected |
Definition at line 180 of file kis_basic_histogram_producers.h.
The documentation for this class was generated from the following files:
