How can I change the color of my alphabets?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
original=imread('beach.jpg');
width=440:453;
height=228:242;
n=1;
words=input('Please type your wish here =', 's');
while(width<880)
switch words(n)
case 'A'
original(height,width)=A*255;
width=width+14;
imshow(original)
case 'B'
original(height,width)=B*255;
width=width+15;
imshow(original)
2 commentaires
Réponses (1)
Sailesh Kalyanapu
le 14 Juin 2021
If you have access to the Computer Vision Toolbox, you can use the ‘insertText’ function to insert text in an image or video. Change the ‘TextColor’ name-value pair to change the alphabet colour.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!