Hi i need help fixing this code in app designer its about thresholding here is the error message and thank u
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
0 Kommentare
Antworten (1)
Image Analyst
am 12 Dez. 2022
The badly-named "a" is not an image, and it needs to be. What does this show
whos a
size(a)
2 Kommentare
Image Analyst
am 12 Dez. 2022
This does not turn the RGB image to green. It converts the RGB image into gray scale through a weighted average of all the color channels. Then you put it into a new RGB image where the red and blue channels are black and the gray scale version of the RGB image is in the green channel. It looks like it should do that. Does it throw an error, or did you just tell it to do something that you did not want it to do?
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!