How can I display an image in just its rgb values without using loops

3 views (last 30 days)
I want to be able to get from a multicolored image to an image with just the red, green and blue colors left and everything else white. Thank you!
Walter Roberson
Walter Roberson on 16 Sep 2022
Question: in uint8 notation, is 254 0 0 red? if 254 0 1 red? is 1 0 0 red? is 240 32 32 red?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 16 Sep 2022
Try the Color Thresholder on the Apps tab of the tool ribbon. Export a function for red, green, and blue, then combine them into a main program.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:


Find more on Images 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!

Translated by