Plotting an image in axes

1 view (last 30 days)
Pava Tharani
Pava Tharani on 2 Feb 2015
Commented: Pava Tharani on 13 Feb 2015
I am doing project using matlab gui, in that i have created axes through the coding and load the image into axes with the help of button.When i am clicking the button at the first time the image is plotted correctly at the center of the axes,but at the second time the loaded image is plotted at the right side of the axes only..What i have to do to plot the image at the center of the axes for the second time also?

Accepted Answer

Image Analyst
Image Analyst on 2 Feb 2015
The image is probably a different size and you had put "hold on" when you first displayed it. Try this before you call imshow():
cla('reset');
  3 Comments
Revathi Gandhi
Revathi Gandhi on 3 Feb 2015
k say the answer soon...
Image Analyst
Image Analyst on 3 Feb 2015
I thought I already did say it. If it doesn't work, then let me know.

Sign in to comment.

More Answers (1)

Pava Tharani
Pava Tharani on 12 Feb 2015
I am doing "Fingerprint Recognition" project. I need to match two fingerprint images.Suppose my dataset contains 8 fingerprint images of the same person, but with different positions. Eventhough the images are at the different positions, the system should give the result of any two images as "Fingerprints are matched". How could I do this? Give me some ideas.
  4 Comments
Image Analyst
Image Analyst on 13 Feb 2015
It's a list of papers on fingerprint analysis. Drill down into the subcategories and you'll find papers like this:
Rao, C.V.K.,
On Fingerprint Pattern Recognition,
PR(10), No. 1, 1978, pp. 15-18.
WWW Version. BibRef 7800
Rao, C.V.K., and Black, K.,
Type Classification of Fingerprints,
PAMI(2), No. 3, May 1980, pp. 223-231. BibRef 8005
Peterson, V.L.[Vernon L.],
Apparatus and method of personal identification by fingerprint comparison,
US_Patent4,246,568, Jan 20, 1981
WWW Version. BibRef 8101
Kawagoe, M., Tojo, A.,
Fingerprint Pattern Classification,
PR(17), No. 3, 1984, pp. 295-303.
WWW Version. BibRef 8400
Elmes, P.B.[Paul B.],
Method and apparatus for fingerprint verification of identity,
US_Patent4,455,083, Jun 19, 1984
WWW Version. BibRef 8406
There is no fingerprint analysis in MATLAB so you're going to have to program up an algorithm from lower level functions in the Image Processing Toolbox and/or Computer Vision System Toolbox. So review the literature, pick a suitable algorithm, and code it up. We don't do any of that for you. We don't do algorithm development here, we just help with simple code snippets, like syntax, errors, simple program flow, etc. If you don't like any of the succefful, published algorithms, feel free to invent one yourself or hire a consultant to write one for you. You can start by searching for MATLAB fingerprints and find pages like this.

Sign in to comment.

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!