Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Image processing
조회 수: 1 (최근 30일)
이전 댓글 표시
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???
댓글 수: 0
답변 (2개)
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
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
2011년 8월 21일
댓글 수: 1
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!