Basic Image AlgorithmS Library
2.8.0
|
#include <Image/JointHistogram.hh>
Public Member Functions | |
float | CalcRenyiEntropy (double alpha) |
float | CalcShannonEntropy () |
int | Compute (BIAS::Image< StorageType > &image1, BIAS::Image< StorageType > &image2) |
int | ComputeParzenWindow (BIAS::Image< StorageType > &image1, BIAS::Image< StorageType > &image2, unsigned int nrOfSamples) |
void | Draw (BIAS::Image< float > &image) |
JointHistogram () | |
~JointHistogram () | |
Protected Member Functions | |
void | Normalize_ () |
void | NormalizeParzen_ () |
Protected Attributes | |
unsigned int | dChannelCount_ |
unsigned int | dHeight_ |
unsigned int | dNumberOfSamples_ |
BIAS::Image< float > | drawImage_ |
unsigned int | dWidth_ |
BIAS::Image< float > | gaussImage1_ |
BIAS::Image< float > | gaussImage2_ |
BIAS::Image< float > | histImage_ |
BIAS::Image< float > | nrImage_ |
unsigned int | pixelCount_ |
Definition at line 10 of file JointHistogram.hh.
JointHistogram::JointHistogram | ( | ) |
Definition at line 9 of file JointHistogram.cpp.
JointHistogram::~JointHistogram | ( | ) |
Definition at line 14 of file JointHistogram.cpp.
float JointHistogram::CalcRenyiEntropy | ( | double | alpha | ) |
Definition at line 167 of file JointHistogram.cpp.
float JointHistogram::CalcShannonEntropy | ( | ) |
Definition at line 147 of file JointHistogram.cpp.
int JointHistogram::Compute | ( | BIAS::Image< StorageType > & | image1, |
BIAS::Image< StorageType > & | image2 | ||
) |
Definition at line 93 of file JointHistogram.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), and BIAS::ImageBase::GetWidth().
int JointHistogram::ComputeParzenWindow | ( | BIAS::Image< StorageType > & | image1, |
BIAS::Image< StorageType > & | image2, | ||
unsigned int | nrOfSamples | ||
) |
Definition at line 20 of file JointHistogram.cpp.
References BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Random::GetUniformDistributedInt(), and BIAS::ImageBase::GetWidth().
void JointHistogram::Draw | ( | BIAS::Image< float > & | image | ) |
Definition at line 142 of file JointHistogram.cpp.
|
protected |
Definition at line 206 of file JointHistogram.cpp.
|
protected |
Definition at line 188 of file JointHistogram.cpp.
|
protected |
Definition at line 36 of file JointHistogram.hh.
|
protected |
Definition at line 35 of file JointHistogram.hh.
|
protected |
Definition at line 43 of file JointHistogram.hh.
|
protected |
Definition at line 38 of file JointHistogram.hh.
|
protected |
Definition at line 34 of file JointHistogram.hh.
|
protected |
Definition at line 39 of file JointHistogram.hh.
|
protected |
Definition at line 40 of file JointHistogram.hh.
|
protected |
Definition at line 37 of file JointHistogram.hh.
|
protected |
Definition at line 41 of file JointHistogram.hh.
|
protected |
Definition at line 42 of file JointHistogram.hh.