| 2 | |
| 3 | |
| 4 | ImageProcessor::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 | |
| 13 | void ImageProcessor::normalize(cv::Mat& image) |
| 14 | { |
nothing calls this directly
no outgoing calls
no test coverage detected