BlockMatching() class is written in Python. It takes 5 arguments:
- dfd : {0:MAD, 1:MSE} Displaced frame difference
- blockSize : (sizeH,sizeW)
- searchMethod : {0:Exhaustive, 1:Three-Step}
- searchRange : (int) +/- pixelwise range
- motionIntensity: True (default)
Normalization for motion vector intensities. Assigns 255 to the largest amplitude motion vector. Also, there is a threshold that intensity value cannot be less than 100.
- predict_from_prev : False (default)
- N : 5 (default)
If the predictions made from previous predicted frames, anchor is updated after N frames.