필터 지우기
필터 지우기

How to store the X,Y axis co-ordinate values of a point on image from Matlab to MS Access??

조회 수: 2 (최근 30일)
Respected sir,My program should be like this.First i need to read an image from the system.Then i need to show/display it.After that when i click on any point on the image,the X,Y axis co-ordinates of that point must be stored automatically in the Microsoft Access sheet.Like this i need to store the X,Y values of about 20 points on the image from Matlab to MS Access.Now can anyone please tell how to connect MS Access to matlab??That is how to store the X,Y co-ordinate values of points on image from Matlab to MS Access??

채택된 답변

Sukuchha
Sukuchha 2012년 2월 3일
  • Read your image with imread!;
  • show your image with imshow
  • click points in your image with ginput or data cursor
  • store those information in csv file
  • import csv file in access !
  댓글 수: 3
Manoj Murali
Manoj Murali 2012년 2월 3일
hi sir,I hav done till the third step.In the fourth step of urs how to store the information into a csv file??plz help...
Manoj Murali
Manoj Murali 2012년 2월 3일
hello sir,This is wat i did...
clf;
clc;
y=imread('C:\Users\Manoj\Desktop\sorry.jpg');
h=im2bw(y);
imshow(h)
[x,y]=ginput(4);
csvwrite('csvlist1.dat',[x,y])
next how to import this CSV file to MS access...plz help sir..

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Sukuchha
Sukuchha 2012년 2월 3일
use dlmwrite
  댓글 수: 1
Manoj Murali
Manoj Murali 2012년 2월 3일
hello sir,This is wat i did...
clf;
clc;
y=imread('C:\Users\Manoj\Desktop\sorry.jpg');
h=im2bw(y);
imshow(h)
[x,y]=ginput(4);
csvwrite('csvlist1.dat',[x,y])
next how to import this CSV file to MS access...plz help sir..

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by