Magick++ 7.1.2
Loading...
Searching...
No Matches
Magick::ChannelStatistics Class Reference
Collaboration diagram for Magick::ChannelStatistics:

Public Member Functions

 ChannelStatistics (const ChannelStatistics &channelStatistics_)
 
double area () const
 
PixelChannel channel (void) const
 
size_t depth () const
 
double entropy () const
 
bool isValid () const
 
double kurtosis () const
 
double maxima () const
 
double mean () const
 
double minima () const
 
double skewness () const
 
double standardDeviation () const
 
double sum () const
 
double sumCubed () const
 
double sumFourthPower () const
 
double sumSquared () const
 
double variance () const
 
 ChannelStatistics (const PixelChannel channel_, const MagickCore::ChannelStatistics *channelStatistics_)
 

Private Attributes

PixelChannel _channel
 
double _area
 
size_t _depth
 
double _entropy
 
double _kurtosis
 
double _maxima
 
double _mean
 
double _minima
 
double _skewness
 
double _standardDeviation
 
double _sum
 
double _sumCubed
 
double _sumFourthPower
 
double _sumSquared
 
double _variance
 

Detailed Description

Definition at line 133 of file Statistic.h.

Constructor & Destructor Documentation

◆ ChannelStatistics() [1/3]

Magick::ChannelStatistics::ChannelStatistics ( void )

Definition at line 284 of file Statistic.cpp.

285 : _channel(SyncPixelChannel),
286 _area(0.0),
287 _depth(0),
288 _entropy(0.0),
289 _kurtosis(0.0),
290 _maxima(0.0),
291 _mean(0.0),
292 _minima(0.0),
293 _skewness(0.0),
294 _standardDeviation(0.0),
295 _sum(0.0),
296 _sumCubed(0.0),
297 _sumFourthPower(0.0),
298 _sumSquared(0.0),
299 _variance(0.0)
300{
301}

◆ ChannelStatistics() [2/3]

Magick::ChannelStatistics::ChannelStatistics ( const ChannelStatistics & channelStatistics_)

Definition at line 303 of file Statistic.cpp.

305 : _channel(channelStatistics_._channel),
306 _area(channelStatistics_._area),
307 _depth(channelStatistics_._depth),
308 _entropy(channelStatistics_._entropy),
309 _kurtosis(channelStatistics_._kurtosis),
310 _maxima(channelStatistics_._maxima),
311 _mean(channelStatistics_._mean),
312 _minima(channelStatistics_._minima),
313 _skewness(channelStatistics_._skewness),
314 _standardDeviation(channelStatistics_._standardDeviation),
315 _sum(channelStatistics_._sum),
316 _sumCubed(channelStatistics_._sumCubed),
317 _sumFourthPower(channelStatistics_._sumFourthPower),
318 _sumSquared(channelStatistics_._sumSquared),
319 _variance(channelStatistics_._variance)
320{
321}

◆ ~ChannelStatistics()

Magick::ChannelStatistics::~ChannelStatistics ( void )

Definition at line 323 of file Statistic.cpp.

324{
325}

◆ ChannelStatistics() [3/3]

Magick::ChannelStatistics::ChannelStatistics ( const PixelChannel channel_,
const MagickCore::ChannelStatistics * channelStatistics_ )

Definition at line 407 of file Statistic.cpp.

409 : _channel(channel_),
410 _area(channelStatistics_->area),
411 _depth(channelStatistics_->depth),
412 _entropy(channelStatistics_->entropy),
413 _kurtosis(channelStatistics_->kurtosis),
414 _maxima(channelStatistics_->maxima),
415 _mean(channelStatistics_->mean),
416 _minima(channelStatistics_->minima),
417 _skewness(channelStatistics_->skewness),
418 _standardDeviation(channelStatistics_->standard_deviation),
419 _sum(channelStatistics_->sum),
420 _sumCubed(channelStatistics_->sum_cubed),
421 _sumFourthPower(channelStatistics_->sum_fourth_power),
422 _sumSquared(channelStatistics_->sum_squared),
423 _variance(channelStatistics_->variance)
424{
425}

Member Function Documentation

◆ area()

double Magick::ChannelStatistics::area ( ) const

Definition at line 327 of file Statistic.cpp.

328{
329 return(_area);
330}

◆ channel()

Magick::PixelChannel Magick::ChannelStatistics::channel ( void ) const

Definition at line 332 of file Statistic.cpp.

333{
334 return(_channel);
335}

◆ depth()

size_t Magick::ChannelStatistics::depth ( ) const

Definition at line 337 of file Statistic.cpp.

338{
339 return(_depth);
340}

◆ entropy()

double Magick::ChannelStatistics::entropy ( ) const

Definition at line 342 of file Statistic.cpp.

343{
344 return(_entropy);
345}

◆ isValid()

bool Magick::ChannelStatistics::isValid ( ) const

Definition at line 347 of file Statistic.cpp.

348{
349 return(_channel != SyncPixelChannel);
350}

◆ kurtosis()

double Magick::ChannelStatistics::kurtosis ( ) const

Definition at line 352 of file Statistic.cpp.

353{
354 return(_kurtosis);
355}

◆ maxima()

double Magick::ChannelStatistics::maxima ( ) const

Definition at line 357 of file Statistic.cpp.

358{
359 return(_maxima);
360}

◆ mean()

double Magick::ChannelStatistics::mean ( ) const

Definition at line 362 of file Statistic.cpp.

363{
364 return(_mean);
365}

◆ minima()

double Magick::ChannelStatistics::minima ( ) const

Definition at line 367 of file Statistic.cpp.

368{
369 return(_minima);
370}

◆ skewness()

double Magick::ChannelStatistics::skewness ( ) const

Definition at line 372 of file Statistic.cpp.

373{
374 return(_skewness);
375}

◆ standardDeviation()

double Magick::ChannelStatistics::standardDeviation ( ) const

Definition at line 377 of file Statistic.cpp.

378{
379 return(_standardDeviation);
380}

◆ sum()

double Magick::ChannelStatistics::sum ( ) const

Definition at line 382 of file Statistic.cpp.

383{
384 return(_sum);
385}

◆ sumCubed()

double Magick::ChannelStatistics::sumCubed ( ) const

Definition at line 387 of file Statistic.cpp.

388{
389 return(_sumCubed);
390}

◆ sumFourthPower()

double Magick::ChannelStatistics::sumFourthPower ( ) const

Definition at line 392 of file Statistic.cpp.

393{
394 return(_sumFourthPower);
395}

◆ sumSquared()

double Magick::ChannelStatistics::sumSquared ( ) const

Definition at line 397 of file Statistic.cpp.

398{
399 return(_sumSquared);
400}

◆ variance()

double Magick::ChannelStatistics::variance ( ) const

Definition at line 402 of file Statistic.cpp.

403{
404 return(_variance);
405}

Member Data Documentation

◆ _area

double Magick::ChannelStatistics::_area
private

Definition at line 203 of file Statistic.h.

◆ _channel

PixelChannel Magick::ChannelStatistics::_channel
private

Definition at line 202 of file Statistic.h.

◆ _depth

size_t Magick::ChannelStatistics::_depth
private

Definition at line 204 of file Statistic.h.

◆ _entropy

double Magick::ChannelStatistics::_entropy
private

Definition at line 205 of file Statistic.h.

◆ _kurtosis

double Magick::ChannelStatistics::_kurtosis
private

Definition at line 206 of file Statistic.h.

◆ _maxima

double Magick::ChannelStatistics::_maxima
private

Definition at line 207 of file Statistic.h.

◆ _mean

double Magick::ChannelStatistics::_mean
private

Definition at line 208 of file Statistic.h.

◆ _minima

double Magick::ChannelStatistics::_minima
private

Definition at line 209 of file Statistic.h.

◆ _skewness

double Magick::ChannelStatistics::_skewness
private

Definition at line 210 of file Statistic.h.

◆ _standardDeviation

double Magick::ChannelStatistics::_standardDeviation
private

Definition at line 211 of file Statistic.h.

◆ _sum

double Magick::ChannelStatistics::_sum
private

Definition at line 212 of file Statistic.h.

◆ _sumCubed

double Magick::ChannelStatistics::_sumCubed
private

Definition at line 213 of file Statistic.h.

◆ _sumFourthPower

double Magick::ChannelStatistics::_sumFourthPower
private

Definition at line 214 of file Statistic.h.

◆ _sumSquared

double Magick::ChannelStatistics::_sumSquared
private

Definition at line 215 of file Statistic.h.

◆ _variance

double Magick::ChannelStatistics::_variance
private

Definition at line 216 of file Statistic.h.


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