Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Image processing

1 回表示 (過去 30 日間)
Khawaja Asim
Khawaja Asim 2011 年 8 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi... I have written a code to detect a particular point in images. That I have done successfully.. Now I want that code to work for whole database of images. i-e when we run the code every image of database is processed and resultant image is place in some folder with a "mark" on the detected coordinates.... someone please help me in this???

回答 (2 件)

Sean de Wolski
Sean de Wolski 2011 年 8 月 21 日
Use a for-loop to work through all of the files in the output from dir.
doc dir
MORE
imshow('cameraman.tif');
hold on;
plot(170,75,'b*','markersize',10);
Add blue flash to cameradude's camera.
  2 件のコメント
Khawaja Asim
Khawaja Asim 2011 年 8 月 21 日
and what is the syntax to make some mark like "+" "x" like on the detected points...??
Image Analyst
Image Analyst 2011 年 8 月 21 日
plot(x, y, '+');
x and y correspond to pixel locations (column and row respectively). (See LineSpec for a list of marker specifiers).

Khawaja Asim
Khawaja Asim 2011 年 8 月 21 日
dear this plots the point.. but it doesnot show the point on original image.. I want that image is displayed with those particular pixels location highlighted with that "+" symbol... thanks
  1 件のコメント
Image Analyst
Image Analyst 2011 年 8 月 21 日
Did you set "hold on" after you called imshow() and before you called plot()? Otherwise plot() will blow away your image.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by