So i'm wondering how i take an RGB into matlab and split it into the following format:
image L(x,y)=[LR(x,y),LG(x,y),LB(x,y)] let us
im = im2double(imread('test_images\low_light\8.bmp'));
Error using imread>get_full_filename (line 569)
File "test_images\low_light\8.bmp" does not exist.
Error in imread (line 371)
fullname = get_full_filename(filename);
the above line of code spits out a value 365x490x3 double which i assume x = 365 y = 460 and 3 = the RGB colours associated with the picture.
Any idea how i can produce an output which looks like:
T(x,y) = max(R,G,B) Lc(x,y)
Thanks.