Can we able to tag an image in matlab

조회 수: 3 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 10월 27일
In google map, when you move your cursor near a building, it will show the name of the building or location. Can we do that option in image processing in MATLAB. My input image is a road, which has a car, a bike and a bus. my project code output will display only car image, when i give the input as car.. now, my question is can i add text just above the car image..such that when i give the input as car,,, it should display car image with the text written on the image as car.

채택된 답변

Walter Roberson
Walter Roberson 2012년 10월 27일
datacursormode() with a custom callback function that selects whatever text you want to display.
  댓글 수: 2
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 10월 27일
thanks walter. when i applied the command, i could able to see x values as well as y values.. but, how can i type the word car. moreover, after running the program, i should not use the mouse. Is there any possible to get the output with the tag name mentioned
Walter Roberson
Walter Roberson 2012년 10월 27일
Ummm, perhaps what you are looking for is simply text() ?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by