![]() |
ETRI IVCL 1.0.0
Acceleration SW Platform for Ondevice
|
#include "lib.h"Functions | |
| float | evaluation (Mat gt, double gt_scaling, Mat &errorMap, float *result, float focal_length, float base_line, int dispRange, float d_val[], float threshold_) |
| float | evaluation (Mat gt, double gt_scaling, Mat &errorMap, uchar *result, float focal_length, float base_line, int dispRange, float d_val[], float threshold_) |
| int | valid_pixel_cnt (Mat gt, double gt_scaling, Mat &validROI, float focal_length, float base_line, int dispRange, float d_val[]) |
| float evaluation | ( | Mat | gt, |
| double | gt_scaling, | ||
| Mat & | errorMap, | ||
| float * | result, | ||
| float | focal_length, | ||
| float | base_line, | ||
| int | dispRange, | ||
| float | d_val[], | ||
| float | threshold_ | ||
| ) |
Evaluate the depth map (DISP_SPLIT == True)
| gt | Ground truth depth image |
| gt_scaling | Scale the depth image (according to ground truth) |
| errorMap | Error map in the result image (compared with GT) |
| result | Input depth image |
| focal_length | Camera focal length |
| base_line | The distance between the stereo camera |
| dispRange | The number of pixels for matching comparison |
| d_val | range for evaluation (array) |
| threshold_ |
| float evaluation | ( | Mat | gt, |
| double | gt_scaling, | ||
| Mat & | errorMap, | ||
| uchar * | result, | ||
| float | focal_length, | ||
| float | base_line, | ||
| int | dispRange, | ||
| float | d_val[], | ||
| float | threshold_ | ||
| ) |
Evaluate the depth map (DISP_SPLIT == False)
| gt | Ground truth depth image |
| gt_scaling | Scale the depth image (according to ground truth) |
| errorMap | Error map in the result image (compared with GT) |
| result | Input depth image |
| focal_length | Camera focal length |
| base_line | The distance between the stereo camera |
| dispRange | The number of pixels for matching comparison |
| d_val | range for evaluation (array) |
| threshold_ |
| int valid_pixel_cnt | ( | Mat | gt, |
| double | gt_scaling, | ||
| Mat & | validROI, | ||
| float | focal_length, | ||
| float | base_line, | ||
| int | dispRange, | ||
| float | d_val[] | ||
| ) |
Check valid pixels in depth map
d_val[0] < pixel distance in GT < d_val[1]