UnitTestsFeverCam.h File Reference
#include <PImageInternal.h>
#include <PMath.h>
#include <PPoint2DfList.h>
#include <PapillonCore.h>
#include <UnitTest++.h>
#include <fstream>
#include <opencv2/core.hpp>
#include "PFeverCamAnalytics.h"
#include "PFeverCamCalibration.h"
#include "PFeverCamProcessor.h"
#include "PFeverCamTemperatureCorrection.h"
#include "PFeverCamTemperatureImagesHandler.h"
Include dependency graph for UnitTestsFeverCam.h:

Go to the source code of this file.

Functions

 TEST (PFeverCamCalibration_Init)
 
 TEST (PFeverCamCalibration_LoadSave)
 
 TEST (PFeverCamCalibration_Update)
 
 TEST (PFeverCamCalibration_ImageFusion)
 
 TEST (PFeverCamCalibration_Projection)
 
 TEST (PFeverCamAnalytics_BBody)
 
 TEST (PFeverCamAnalytics_Tests)
 
 TEST (PFeverCam_TemperatureCorrection)
 
 TEST (PFeverCam_TemperatureImagesHandler)
 
 TEST (PFeverCam_Processor)
 

Function Documentation

◆ TEST() [1/10]

TEST ( PFeverCamCalibration_Init  )

Definition at line 23 of file UnitTestsFeverCam.h.

◆ TEST() [2/10]

TEST ( PFeverCamCalibration_LoadSave  )

< empty string can't be loaded

< invalid string contents

< invalid string contents as last item is not a number

< invalid string contents as too many items

< Valid string should load

< identity string must be loadable (using identity so that errors are minimized in load/save

Definition at line 29 of file UnitTestsFeverCam.h.

◆ TEST() [3/10]

TEST ( PFeverCamCalibration_Update  )

< Empty lists won't work

< Less than 3 pts per list won't work

< Less than 3 pts per list won't work

< 3 points aligned doesn't work

< 4 points not aligned should work

< need to have as many points in both lists

< calibration should not have changed

Definition at line 80 of file UnitTestsFeverCam.h.

◆ TEST() [4/10]

TEST ( PFeverCamCalibration_ImageFusion  )

Definition at line 118 of file UnitTestsFeverCam.h.

◆ TEST() [5/10]

TEST ( PFeverCamCalibration_Projection  )

< 4 points not aligned should work

< 4 points not aligned should work

< 4 points not aligned should work

< 4 points not aligned should work

Definition at line 138 of file UnitTestsFeverCam.h.

◆ TEST() [6/10]

TEST ( PFeverCamAnalytics_BBody  )

Definition at line 228 of file UnitTestsFeverCam.h.

◆ TEST() [7/10]

TEST ( PFeverCamAnalytics_Tests  )

< automatic learning rate (default)

< learning disabled

< immediate learning

< learning rate can't be larger than 1

Definition at line 269 of file UnitTestsFeverCam.h.

◆ TEST() [8/10]

TEST ( PFeverCam_TemperatureCorrection  )

Definition at line 324 of file UnitTestsFeverCam.h.

◆ TEST() [9/10]

TEST ( PFeverCam_TemperatureImagesHandler  )

Definition at line 336 of file UnitTestsFeverCam.h.

◆ TEST() [10/10]

TEST ( PFeverCam_Processor  )

Definition at line 347 of file UnitTestsFeverCam.h.