function rgb = lagrAPIGetImageRGB(t);

global IMAGE_INFO

if IMAGE_INFO.cnt > IMAGE_INFO.max
    warning('No more images');
    dbstop;
end

str = ['load Image_Directory/img' num2str(IMAGE_INFO.cnt)];
eval(str);


rgb = curr_imag;

IMAGE_INFO.cnt = IMAGE_INFO.cnt + 1;

