No BSD License
-
Hmatrix( Ix, Iy, SizeBig, alf...
At each pyramid level, this function generates the Hessian matrix for the
-
LKstep( It, Ix, Iy, H, SizeB...
This function calculates one iteration of optical flow
-
imInit( str )
-
imReflect( I, bordSize )
bordSize : number of reflected pixels from each side of the image
-
imS( Iin, figNo, varargin )
-
imWarp( flowHor, flowVer, Bin...
This function warps B towards A
-
pyramidFlow( A, B_in, winSize...
This function find the optical flow from A to B using pyramid
-
pyramidInit( A, B_in, PYRE_NO...
This function forms image pyramids and initializes other variables
-
pyramidInitialize( A, B_in, P...
This function forms image pyramids and initializes other variables
-
sizeCheck( A, B_in, PYRE_NO )
If image sizes are not integer multiples of maximum downsampling ratio,
-
demo.m
-
View all files
from
Iterative Pyramidal LK Optical Flow
by Berkin Bilgic
An implementation of Lucas-Kanade optical flow computation.
|
| imWarp( flowHor, flowVer, Bin ) |
function [ B ] = imWarp( flowHor, flowVer, Bin )
%This function warps B towards A
[x y] = meshgrid(1:size(Bin,2),1:size(Bin,1));
B = interp2(Bin, x+flowHor, y+flowVer, 'cubic');
B(isnan(B)) = Bin(isnan(B));
end
|
|
Contact us at files@mathworks.com