error wen separating the channel

I am running a code for stegnography,the problem is that it works for cameraman
and gray scale images,if any RGB is converted to grayscale,but if i separate channel and run
R =rgb(:,:,1),the program is not running,getting error
can u plz assist why i get error

Answers (0)

This question is closed.

Asked:

on 9 Mar 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!