Match Image in Matlab Guide

Hallo
Need help in the decision problems in the GUIDE. Have a window in which press the button "match" example ( http://www.mathworks.com/matlabcentral/fileexchange/22230-image-matching-with-guide/content/push.m ) How to make so, that when you press the "match" and check the image in the following thrown over EditText1 and EditText2 displayed counting "X-RAY", that is if same, in EditText1 enter 1, if again the same 2 and so on, if you are out of sync in EditText2 enter 1, and so on.
Thanks for the help!

Risposte (1)

Image Analyst
Image Analyst il 5 Mag 2013
Use the set() command to set strings in your GUI controls:
set(handles.editText1, 'String', 'Match');
set(handles.editText2, 'String', 'X-RAY');
and so on.

5 Commenti

Aleks
Aleks il 5 Mag 2013
Yes I understand this, but how calculate how much was X-RAY or Match and input value(for example, if 2 times matched or n times, algorithm must input value 2 or n in EditText Tag) in EditText1 or EditText2?
Sorry I can't help. I don't understand the problem. Are you saying that you don't know how to get input values from edit text controls? And I don't know what "calculate how much was X-RAY or Match" means.
Aleks
Aleks il 5 Mag 2013
Perhaps I asked not fully exactly. I must calculate how many times was "X-RAY" and how many time was "Match" image. I construct additional Tags - EditText1 and EditText2 there must by only number, how many times was "X-RAY" and how many time was "Match".
Aleks
Aleks il 5 Mag 2013
Could Someone help me?
I do not understand, what
...calculate how many times was "X-RAY"
means.

Accedi per commentare.

Richiesto:

il 5 Mag 2013

Community Treasure Hunt

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

Start Hunting!

Translated by