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개)

Image Analyst
Image Analyst 2013년 5월 5일

0 개 추천

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

Aleks
Aleks 2013년 5월 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?
Image Analyst
Image Analyst 2013년 5월 5일
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 2013년 5월 5일
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 2013년 5월 5일
Could Someone help me?
Jan
Jan 2013년 5월 5일
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