hi everyone,
my goal is to calculate windspeed from cloudimages (frames).
I use Lucas Kanade for Flow Estimation.
Unfortunalty iam stucked by plotting my results:
-i want the output diagramm/image/flowfield full frame without white border
-moreover i would like to add axis with the pixel units (tried imref2d)
-and a grid
I am sure there is a way. but who knows him?
[w,h] = size(optical_flow_u);
u_down = optical_flow_u(1:step:end, 1:step:end);
v_down = optical_flow_v(1:step:end, 1:step:end);
[X,Y] = meshgrid(1:n, 1:m);
X_down = X(1:step:end, 1:step:end);
Y_down = Y(1:step:end, 1:step:end);
quiver(X_down, Y_down, u_down, v_down, 0.5, 'color',[1 0 0]);