krita

KisHistogram::Calculations Class Reference

#include <kis_histogram.h>

List of all members.


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.


Public Member Functions

 Calculations ()
double getMax ()
double getMin ()
Q_UINT32 getHighest ()
Q_UINT32 getLowest ()
double getMean ()
Q_UINT32 getCount ()
double getTotal ()

Friends

class KisHistogram

Member Function Documentation

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.

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.

Q_UINT32 KisHistogram::Calculations::getHighest (  )  [inline]

This function return the highest value of the histogram.

Definition at line 73 of file kis_histogram.h.

Q_UINT32 KisHistogram::Calculations::getLowest (  )  [inline]

This function return the lowest value of the histogram.

Definition at line 75 of file kis_histogram.h.

double KisHistogram::Calculations::getMean (  )  [inline]

This function return the mean of value of the histogram.

Definition at line 77 of file kis_histogram.h.

Q_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.

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.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys