Rank: 11642 based on 0 downloads (last 30 days) and 0 file submitted
photo

Christopher

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Christopher View all
Updated File Comments Rating
11 Sep 2013 2D Vector Field Visualization Two functions that create visualizations of 2D vector fields Author: Nicholas Howe

it works, thank you :)

16 Aug 2013 2D Vector Field Visualization Two functions that create visualizations of 2D vector fields Author: Nicholas Howe

can you give me an working example of the cquiver() function? i don't know how to handle the input arguments.

formally I used Matlabs quiver() function like this:

%read a single frame of a Video file

im = step(hVideoSrc);

%create a rectangular grid

[X Y] = meshgrid(1:1:size(im, 2), 1:1:size(im, 1));

% compute optical flow for the video
%Horizontal and vertical components in %complex form

of = step(hof,im);

%plot a 2-d vector Field

quiver(X(:),real(of(:)),Y(:),imag(of(:)));

This returns a Quiver Plot of the Optical flow between two frames of the Video.
But when I replace the quiver() function With the cquiver function it just returns me the Colorbar, and nothing else.

Contact us