Adding text over image/ Sending image to background
Show older comments
Hello,
I am trying to scan an image with 64x128 window. Each window runs an algorithm. the result is either Yes or No. I use
for i = i:4
if strcmpi(output,'Yes')
T = 'Y';
else
T = 'N';
end
figure(1),imshow(I)
text(colmn,roww,T,'fontsize',14);
hold on;
endfor
to show if its either yes or no. Say for a big image I have four windows. each window should display Y or N over the image. First time the loop runs Y is shown, next time Y disappears (i.e goes behind the image ) and now N is shown. This goes on till the end. The last text shown is on the image rest of them are there but just behind it. Is there a simple way of sending the image to background so all the texts appear on the image.
Thankyou for cooperation.
Kamran
Answers (0)
Categories
Find more on Convert Image Type 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!