Moreover the visualization is better, and still keeps the frames comparable by:
mag *= 16;
threshold (mag, mag, 255, 0, THRESH_TRUNC);
mag.convertTo (hsvVec [2], CV_8UC1);
Moreover the visualization is better, and still keeps the frames comparable by:
mag *= 16;
threshold (mag, mag, 255, 0, THRESH_TRUNC);
mag.convertTo (hsvVec [2], CV_8UC1);