I have an image and I have extracted rgb values of a particular region and stored it on a text file (See Text File)
To read R values :
fid = fopen('input.txt');
R = textscan(fid, '%f %*[^\n]');
R = C{:};
fclose(fid);
Similarly I can read other values and store it in G & B
But how can I plot all of them on same histogram. I need them together so I can calculate maximum likelihood estimator from histogram.
Thanks for Helping.