Can we able to tag an image in matlab

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 27 Oct 2012
datacursormode() with a custom callback function that selects whatever text you want to display.
  2 Comments
Sivakumaran Chandrasekaran
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 on 27 Oct 2012
Ummm, perhaps what you are looking for is simply text() ?

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!