|
void | calculate () |
|
void | calculateInThread () |
|
double | getCount (int channel, int start, int end) const |
|
int | getHistogramSegments () const |
|
double | getMaximum (int channel, int start, int end) const |
|
int | getMaxSegmentIndex () const |
|
double | getMean (int channel, int start, int end) const |
|
int | getMedian (int channel, int start, int end) const |
|
double | getPixels () const |
|
double | getStdDev (int channel, int start, int end) const |
|
double | getValue (int channel, int bin) const |
|
| ImageHistogram (const DImg &img, QObject *const parent=nullptr) |
|
bool | isCalculating () const |
|
bool | isFinished () const |
|
bool | isRunning () const |
|
bool | isSixteenBit () const |
|
bool | isValid () const |
|
QThread::Priority | priority () const |
|
void | setEmitSignals (bool emitThem) |
|
void | setPriority (QThread::Priority priority) |
|
State | state () const |
|
void | stopCalculation () |
|
| ~ImageHistogram () override |
|
◆ State
Enumerator |
---|
Inactive | |
Scheduled | |
Running | |
Deactivating | |
◆ ImageHistogram()
Digikam::ImageHistogram::ImageHistogram |
( |
const DImg & |
img, |
|
|
QObject *const |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~ImageHistogram()
Digikam::ImageHistogram::~ImageHistogram |
( |
| ) |
|
|
override |
◆ calculate()
void Digikam::ImageHistogram::calculate |
( |
| ) |
|
◆ calculateInThread()
void Digikam::ImageHistogram::calculateInThread |
( |
| ) |
|
◆ calculationAboutToStart
void Digikam::ImageHistogram::calculationAboutToStart |
( |
| ) |
|
|
signal |
◆ calculationFinished
void Digikam::ImageHistogram::calculationFinished |
( |
bool |
success | ) |
|
|
signal |
◆ calculationStarted
void Digikam::ImageHistogram::calculationStarted |
( |
| ) |
|
|
signal |
emitted from calculation thread
Referenced by calculate().
◆ finished
void Digikam::DynamicThread::finished |
( |
| ) |
|
|
signalinherited |
◆ getCount()
double Digikam::ImageHistogram::getCount |
( |
int |
channel, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| const |
◆ getHistogramSegments()
int Digikam::ImageHistogram::getHistogramSegments |
( |
| ) |
const |
◆ getMaximum()
double Digikam::ImageHistogram::getMaximum |
( |
int |
channel, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| const |
◆ getMaxSegmentIndex()
int Digikam::ImageHistogram::getMaxSegmentIndex |
( |
| ) |
const |
◆ getMean()
double Digikam::ImageHistogram::getMean |
( |
int |
channel, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| const |
◆ getMedian()
int Digikam::ImageHistogram::getMedian |
( |
int |
channel, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| const |
◆ getPixels()
double Digikam::ImageHistogram::getPixels |
( |
| ) |
const |
◆ getStdDev()
double Digikam::ImageHistogram::getStdDev |
( |
int |
channel, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| const |
◆ getValue()
double Digikam::ImageHistogram::getValue |
( |
int |
channel, |
|
|
int |
bin |
|
) |
| const |
◆ isCalculating()
bool Digikam::ImageHistogram::isCalculating |
( |
| ) |
const |
◆ isFinished()
bool Digikam::DynamicThread::isFinished |
( |
| ) |
const |
|
inherited |
◆ isRunning()
bool Digikam::DynamicThread::isRunning |
( |
| ) |
const |
|
inherited |
◆ isSixteenBit()
bool Digikam::ImageHistogram::isSixteenBit |
( |
| ) |
const |
Methods to access the histogram data.
Referenced by calculate().
◆ isValid()
bool Digikam::ImageHistogram::isValid |
( |
| ) |
const |
◆ priority()
QThread::Priority Digikam::DynamicThread::priority |
( |
| ) |
const |
|
inherited |
◆ run()
void Digikam::ImageHistogram::run |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ runningFlag()
bool Digikam::DynamicThread::runningFlag |
( |
| ) |
const volatile |
|
protectedinherited |
◆ setEmitSignals()
void Digikam::DynamicThread::setEmitSignals |
( |
bool |
emitThem | ) |
|
|
inherited |
◆ setPriority()
void Digikam::DynamicThread::setPriority |
( |
QThread::Priority |
priority | ) |
|
|
inherited |
◆ shutDown()
void Digikam::DynamicThread::shutDown |
( |
| ) |
|
|
protectedinherited |
◆ start [1/2]
void Digikam::DynamicThread::start |
( |
| ) |
|
|
slotinherited |
Referenced by calculateInThread(), Digikam::FacePreviewLoader::checkRestart(), getCount(), getMaximum(), getMean(), getMedian(), getStdDev(), Digikam::LoadSaveThread::load(), Digikam::ManagedLoadSaveThread::load(), Digikam::ManagedLoadSaveThread::loadThumbnail(), Digikam::DImgThreadedFilter::multithreadedSteps(), Digikam::ManagedLoadSaveThread::preloadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnailGroup(), Digikam::ManagedLoadSaveThread::prependThumbnailGroup(), Digikam::ScanStateFilter::process(), Digikam::LoadSaveThread::save(), Digikam::ManagedLoadSaveThread::save(), and Digikam::DImgThreadedFilter::startFilter().
◆ start() [2/2]
void Digikam::DynamicThread::start |
( |
QMutexLocker & |
locker | ) |
|
|
protectedinherited |
◆ starting
void Digikam::DynamicThread::starting |
( |
| ) |
|
|
signalinherited |
Emitted if emitSignals is enabled
◆ state()
◆ stop [1/2]
void Digikam::DynamicThread::stop |
( |
| ) |
|
|
slotinherited |
◆ stop() [2/2]
void Digikam::DynamicThread::stop |
( |
QMutexLocker & |
locker | ) |
|
|
protectedinherited |
◆ stopCalculation()
void Digikam::ImageHistogram::stopCalculation |
( |
| ) |
|
◆ threadMutex()
QMutex * Digikam::DynamicThread::threadMutex |
( |
| ) |
const |
|
protectedinherited |
This is the non-recursive mutex used to protect state variables and waiting in this class. You can use it if you want to protect your memory in the same scope as calling start, stop or wait, then using the QMutexLocker variants below. Note that when you have locked this mutex, you must use these variants, as the mutex is non-recursive.
Referenced by Digikam::ScanStateFilter::dispatch(), Digikam::LoadSaveThread::load(), Digikam::ManagedLoadSaveThread::load(), Digikam::ManagedLoadSaveThread::loadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnail(), Digikam::ManagedLoadSaveThread::preloadThumbnailGroup(), Digikam::ManagedLoadSaveThread::prependThumbnailGroup(), Digikam::ScanStateFilter::process(), Digikam::LoadSaveThread::run(), Digikam::ScanStateFilter::run(), Digikam::LoadSaveThread::save(), Digikam::ManagedLoadSaveThread::save(), Digikam::ManagedLoadSaveThread::shutDown(), Digikam::ManagedLoadSaveThread::stopAllTasks(), Digikam::ManagedLoadSaveThread::stopLoading(), Digikam::ManagedLoadSaveThread::stopSaving(), and Digikam::LoadSaveThread::taskHasFinished().
◆ wait [1/2]
void Digikam::DynamicThread::wait |
( |
| ) |
|
|
slotinherited |
◆ wait() [2/2]
void Digikam::DynamicThread::wait |
( |
QMutexLocker & |
locker | ) |
|
|
protectedinherited |
The documentation for this class was generated from the following files: