![]() |
zxhproj v 2.2
zxhproj
|
1) normalise the intensity of two images based on a given surface points image and NV 2) along NV compute the intensity difference from -fRang~-fAccPos before hitting other edge compute avgNeg1(2), fAccPos~fRange before hitting other edge: avgPos1(2) to derive Intensity1'=a*Intensity1+b 3) -fAccPos~fAccPos, compute sum(Thresh(Intensity1')-Thresh(Intensity2)), 4) distance= Sum/Thresh More...
#include <zxhIntensityDistance.h>
Public Member Functions | |
virtual void | SetSurfaceImage (zxhImageData *p) |
virtual void | SetImageFirst (zxhImageData *p) |
virtual void | SetImageSecond (zxhImageData *p) |
virtual void | SetMaskImage (zxhImageData *p) |
virtual void | SetBlurImageFirst (zxhImageData *p) |
virtual void | SetIntensityNormaliseRange (float f) |
range along NV for intensity normalisation | |
virtual void | SetIntensitySubtractionRange (float f) |
range along NV for computing intensity subtraction | |
virtual void | SetThresholdWindow (float f) |
threshold value for setting intensity window in subtraction | |
virtual bool | Evaluate () |
run | |
Protected Attributes | |
zxhImageData * | m_pSurface |
zxhImageData * | m_pImage1 |
zxhImageData * | m_pImage2 |
zxhImageData * | m_pMaskImage |
zxhImageData * | m_pBlurImage |
float | m_fNormaliseRange |
range along NV for intensity normalisation | |
float | m_fSubtractRange |
range along NV for computing intensity subtraction | |
float | m_fThresholdWindow |
threshold value for setting intensity window in subtraction |
1) normalise the intensity of two images based on a given surface points image and NV 2) along NV compute the intensity difference from -fRang~-fAccPos before hitting other edge compute avgNeg1(2), fAccPos~fRange before hitting other edge: avgPos1(2) to derive Intensity1'=a*Intensity1+b 3) -fAccPos~fAccPos, compute sum(Thresh(Intensity1')-Thresh(Intensity2)), 4) distance= Sum/Thresh
bool zxhIntensityDistance::Evaluate | ( | ) | [virtual] |
run
1) along NV compute the intensity difference from -fRang~-fAccPos before hitting other edge compute avgNeg1(2), fAccPos~fRange before hitting other edge: avgPos1(2) to derive Intensity1'=a*Intensity1+b
2) -fAccPos~fAccPos, compute sum(Thresh(Intensity1')-Thresh(Intensity2)), 3) distance= Sum/Thresh