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!

回答(1 个)

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 个评论

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.
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".
Could Someone help me?
I do not understand, what
...calculate how many times was "X-RAY"
means.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息

提问:

2013-5-5

Community Treasure Hunt

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

Start Hunting!

Translated by