how to get average rgb pixel and hue saturation value?

1 view (last 30 days)
i want to compare between 2 images and make an analysis for 2 picture using rgb and hsv

Accepted Answer

Image Analyst
Image Analyst on 9 Mar 2014
See my color demos in my File Exchange There are several demos where I get the values of RGB and HSV in several places. Basically you just index into an array or else use impixel().
  7 Comments
Tasneem Al-Tmimi
Tasneem Al-Tmimi on 30 Sep 2017
Am wondering if finding the mean values of RGB channels helps in finding what is the color of an object using MATLAB ??
Image Analyst
Image Analyst on 30 Sep 2017
Yes, especially if the object takes up the whole image.

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!