chalk

KisHistogram::Calculations Class Reference

#include <kis_histogram.h>

Public Member Functions

double getMax ()
double getMin ()
TQ_UINT32 getHighest ()
TQ_UINT32 getLowest ()
double getMean ()
TQ_UINT32 getCount ()
double getTotal ()

Friends

class KisHistogram

Detailed Description

Class that stores the result of histogram calculations.

Doubles are in the 0-1 range, use the producer's positionToString function to display it.

Definition at line 50 of file kis_histogram.h.

Constructor & Destructor Documentation

◆ Calculations()

KisHistogram::Calculations::Calculations ( )
inline

Definition at line 60 of file kis_histogram.h.

Member Function Documentation

◆ getCount()

TQ_UINT32 KisHistogram::Calculations::getCount ( )
inline

This function return the number of pixels used by the histogram.

Definition at line 81 of file kis_histogram.h.

◆ getHighest()

TQ_UINT32 KisHistogram::Calculations::getHighest ( )
inline

This function return the highest value of the histogram.

Definition at line 73 of file kis_histogram.h.

◆ getLowest()

TQ_UINT32 KisHistogram::Calculations::getLowest ( )
inline

This function return the lowest value of the histogram.

Definition at line 75 of file kis_histogram.h.

◆ getMax()

double KisHistogram::Calculations::getMax ( )
inline

This function return the maximum bound of the histogram (values at greater position than the maximum are null).

Definition at line 66 of file kis_histogram.h.

◆ getMean()

double KisHistogram::Calculations::getMean ( )
inline

This function return the mean of value of the histogram.

Definition at line 77 of file kis_histogram.h.

◆ getMin()

double KisHistogram::Calculations::getMin ( )
inline

This function return the minimum bound of the histogram (values at smaller position than the minimum are null).

Definition at line 71 of file kis_histogram.h.

◆ getTotal()

double KisHistogram::Calculations::getTotal ( )
inline

The sum of (the contents of every bin * the double value of that bin).

Definition at line 83 of file kis_histogram.h.

◆ KisHistogram

friend class KisHistogram
friend

Definition at line 56 of file kis_histogram.h.


The documentation for this class was generated from the following file: