Question: HELP. So i have a matlab code here from youtube. What I want to is how to make it write an output on that color

HELP. So i have a matlab code here from youtube. What I want to is how to make it write an output on that color

so like right now the code detects red, how can I make it scan three colors and write on the output the colors it detects

so if it detects the color red and blue, the output should show "Roses, Aster"

I=imread("RedPn.JPG"); subplot(2,2,1); imshow(I);

G=rgb2gray(I); subplot(2,2,2); imshow(G);

A = I (:,:,1); subplot (2,2,3); imshow (A);

F=imsubtract(A,G); F = im2bw(F, 0.18); subplot(2,2,4); imshow(F)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!