MCPcopy Create free account
hub / github.com/AIRLegend/aitrack / ImageProcessor

Method ImageProcessor

AITracker/src/imageprocessor.cpp:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4ImageProcessor::ImageProcessor() :
5 mean_scaling(0.485f, 0.456f, 0.406f),
6 std_scaling(0.229f, 0.224f, 0.225f)
7{
8 //mean_scaling = mean_scaling / std_scaling;
9 cv::divide(mean_scaling, std_scaling, mean_scaling);
10 std_scaling *= 255.0f;
11}
12
13void ImageProcessor::normalize(cv::Mat& image)
14{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected