Find world co-ordinates of the 4 red points in the image

1 次查看(过去 30 天)
Need to find the co-ordinates of red points,For geometric Features
Tried using edge detection and [x,y] plot Thought someone could help

回答(2 个)

KSSV
KSSV 2016-4-1
clc; clear all ;
data = imread('Road-Closeup-2104957.jpg') ;
% image([0 1], [0 1],data); % Fix the axis
imshow(data) ;
title('select the red dots') ;
coor = ginput(4) ;
hold on
plot(coor(:,1),coor(:,2),'*w') ;
wont this work? You may fix the axis if you want.

Image Analyst
Image Analyst 2016-4-1
My attached spatial calibration demo may help.
But you're probably going to need the camera calibration capabilities of the Computer Vision System Toolbox: http://www.mathworks.com/products/computer-vision/features.html#camera-calibration

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by