• Stefan Walk's avatar
    Make rescaling flexible and add median filtering · 6062601c
    Stefan Walk authored
    Previously the pyramid was done with a rescaling factor of 2 (implied by the
    use of pyrDown). This often leads to inferior results compared to a scale step
    of e.g. 0.8 (a factor of 2 is obviously faster). This commit makes the scale
    step configurable and uses a resonable default value.
    
    The other change in this commit is that median filtering is added. This is not
    described in this paper but it is done in the author's implementation. (See
    e.g. "Secrets of optical flow estimation and their principles", Sun et al.,
    CVPR 2010) This serves as periodic outlier removal during optimization, leading
    to smoother flow fields while preserving motion edges. This includes splitting
    the optimization loop into two loops.
    6062601c
Name
Last commit
Last update
..
androidcamera Loading commit data...
calib3d Loading commit data...
contrib Loading commit data...
core Loading commit data...
features2d Loading commit data...
flann Loading commit data...
gpu Loading commit data...
highgui Loading commit data...
imgproc Loading commit data...
java Loading commit data...
legacy Loading commit data...
ml Loading commit data...
nonfree Loading commit data...
objdetect Loading commit data...
ocl Loading commit data...
photo Loading commit data...
python Loading commit data...
softcascade Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videostab Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...
refman.rst.in Loading commit data...