My basic code is :
clcclose all%%%%%%%%Read an Image + convert into grayscale
fileNames=dir(fullfile('D:\Project\HSV\New Folder\*.bmp')) ;for k= 1:length(fileNames) img_rgb = imread(['D:\Project\HSV\New Folder\' fileNames(k).name]); my_vector = quant_hist (img_rgb);end
where the fucntion quant_hist is returning me a vector of size[256×1] , in images I am having 3 images , so I want my_vector to be of size [256×3] but it stores only the ast iteration value.
Best Answer