MATLAB: How to Draw circles from matched points of stereo camera images.

meanstereo matchingsurfvariance

Hello, I have left image and right image. I want to detect features and match the features from left and right images using SURF method. from the matched points in the left and right images, i want to calculate the midpoints(mean) and the variance. Using the mean and variance value, i want to illustrate circle in order to see how much the variance variate from its mean. Can you help me to do this task? Thanks you.

Best Answer

once you have the coordinates of the circle's center (x,y), you can draw a circle of radius r with the following:
ang = 0:0.01:2*pi;
xp = r*cos(ang);
yp = r*sin(ang);
plot( x+xp,y+yp );