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
댓글 수: 0
답변 (2개)
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.
댓글 수: 0
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
댓글 수: 2
Image Analyst
2016년 4월 23일
Use what? To run my code, you put it into an editor window and click the green Run triangle on the tool ribbon.
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!