How I use the creatmask function for rgb image?

5 views (last 30 days)
[mask, maskedRGBImage] = createMask(rgbImage);
I need guidance to run the above function in MATLAB.

Accepted Answer

Image Analyst
Image Analyst on 28 Jun 2022
Attached is an example I did for another question. Adapt it.
  4 Comments
Image Analyst
Image Analyst on 28 Jun 2022
@Walter Roberson that's a different create mask - a method of an object of class "roi". The syntax @Imran Riaz gave is exactly what you get when you use the Color Thresholder app and export the function. That is not an roi method. It is a function that does take an RGB image array.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by