remove casting since it is casted implicitly

This commit is contained in:
Dennis Eichhorn 2022-09-16 23:38:35 +02:00
parent 6f9f0c03aa
commit 24cf23f026

View File

@ -27,7 +27,7 @@ namespace Image {
cv::Size dim = in.size();
cv::Mat out(dim, in.type());
float *intImg = (float *) malloc(dim.width * dim.height * sizeof(float));
float *intImg = malloc(dim.width * dim.height * sizeof(float));
float sum;
cv::Vec3b bgr;