assert((type & CV_MAT_DEPTH_MASK) == CV_32F);
}
MatDynMem(int height, int width, int type)
- : DynMem(width * height * sizeof(DynMem::type) * CV_MAT_CN(type)), cv::Mat(height, width, type, hostMem())
+ : DynMem(width * height * CV_MAT_CN(type)), cv::Mat(height, width, type, hostMem())
{
assert((type & CV_MAT_DEPTH_MASK) == CV_32F);
}
std::future<void> async_res;
#endif
- KCF_Tracker::GaussianCorrelation gaussian_correlation{Fft::freq_size(roi), num_of_scales, num_channels};
+ KCF_Tracker::GaussianCorrelation gaussian_correlation{roi, num_of_scales, num_channels};
#if defined(CUFFT) || defined(FFTW) // TODO: Why this ifdef?
MatDynMem in_all{roi.height * int(num_of_scales), roi.width, CV_32F};