i want a single algorithm able to process both color image and gray scale image. so separating into rgb channels and analysing its values, can algorithm distinguish color and gray images??

Answers (1)

For colored images you will get RGB values, the out put matrix on reading it will be a 3D matrix; where as for binary it will be a single matrix.

1 Comment

so is it applicable to develop algoritm??I am a beginner in image processing!!

This question is closed.

Asked:

on 18 Oct 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!