![]() |
zxhproj v 2.2
zxhproj
|
joint entropy based on histogram More...
#include <zxhMetricJE.h>
Public Member Functions | |
| zxhMetricJE (void) | |
| constructor | |
| ~zxhMetricJE (void) | |
| virtual std::string | GetMetricType () |
| GetMetricType()=0. | |
| virtual zxhMetricBase * | Clone (zxhMetricBase *&pRet) |
| virtual bool | SetImage (zxhImageData *pImageTest, zxhImageData *pImageRef) |
| virtual int | GetValue (zxhlfloat &fValue) |
| void | SetNumberOfHistogramBins (int i=64) |
| int | GetNumberOfHistogramBins () |
| virtual std::string | GetPrintString () |
| virtual bool | SetMetricFromStream (std::ifstream &ifs) |
| virtual bool | PreComputeImageGraylevel () |
| pre-computation for Image GraySpan before using this object, this make the method better | |
Static Public Attributes | |
| static const int | m_stc_iPaddedBins = 4 |
| padded bin for the parzen windows | |
Protected Member Functions | |
| float | BSplinei (int iOrd, float u) |
| int | ComputeHistogramFromPDF4D (float *&afPDF, float &fTotalFreq, float xfTestFrom, float xfTestTo, float yfTestFrom, float yfTestTo, float zfTestFrom, float zfTestTo, float tfTestFrom, float tfTestTo) |
| from and to are image grid coordinate, not the test image coordinate that considering spacing | |
Protected Attributes | |
| int | m_iNumberOfHistogramBins |
| PixelTypeDefault | m_aiImageTestGraySpan [2] |
| for test image gray level min and max | |
| PixelTypeDefault | m_aiImageRefGraySpan [2] |
| for ref image gray level min and max | |
| float | m_fEntropyT |
| float | m_fEntropyR |
| float | m_fEntropyJ |
| float | m_fTotalFreq |
| for | |
| float * | m_afHistogram |
joint entropy based on histogram
| zxhMetricJE::~zxhMetricJE | ( | void | ) |
| float zxhMetricJE::BSplinei | ( | int | iOrd, |
| float | u | ||
| ) | [inline, protected] |
| zxhMetricBase * zxhMetricJE::Clone | ( | zxhMetricBase *& | pRet | ) | [virtual] |
Reimplemented from zxhMetricBase.
| int zxhMetricJE::GetNumberOfHistogramBins | ( | ) | [inline] |
| std::string zxhMetricJE::GetPrintString | ( | ) | [virtual] |
Reimplemented from zxhMetricBase.
| int zxhMetricJE::GetValue | ( | zxhlfloat & | fValue | ) | [virtual] |
Implements zxhMetricBase.
| bool zxhMetricJE::PreComputeImageGraylevel | ( | ) | [virtual] |
pre-computation for Image GraySpan before using this object, this make the method better
std::cout<<"pre compute ref image gray lever:"<<m_aiImageRefGraySpan[0]<<" to "<<m_aiImageRefGraySpan[1]<<" SUCCESS!\n";
| bool zxhMetricJE::SetImage | ( | zxhImageData * | pImageTest, |
| zxhImageData * | pImageRef | ||
| ) | [virtual] |
| bool zxhMetricJE::SetMetricFromStream | ( | std::ifstream & | ifs | ) | [virtual] |
Reimplemented from zxhMetricBase.
| void zxhMetricJE::SetNumberOfHistogramBins | ( | int | i = 64 | ) | [inline] |
float* zxhMetricJE::m_afHistogram [protected] |
float zxhMetricJE::m_fEntropyJ [protected] |
float zxhMetricJE::m_fEntropyR [protected] |
float zxhMetricJE::m_fEntropyT [protected] |
int zxhMetricJE::m_iNumberOfHistogramBins [protected] |