Puneet Arora
asked on
Store Double Values in Cell Array in Matlab
Please check the code attached ,, Kind Help me find a way to store
histogram values of Images about (200) in a variable
I m trying to store in variable called Hists1 in the code ... I have referred to this link also
http://www.mathworks.in/help/techdoc/matlab_prog/br04bw6-98.html
histogram values of Images about (200) in a variable
I m trying to store in variable called Hists1 in the code ... I have referred to this link also
http://www.mathworks.in/help/techdoc/matlab_prog/br04bw6-98.html
clc;
clear all;
close all;
% load model1Hist.mat
files1 = cell(1,200);
Hists1 = cell(1,200,rand(11,11,11));
dirpath = 'D:\pinder\Sar\FinalDay\SarData';
dirInfo = dir(dirpath);
isDir = [dirInfo.isdir];
AllSARfiles = {dirInfo(~isDir).name};
% Hist = zeros(11,11,11);
Path2Save = 'D:\pinder\Sar\FinalDay\SarData\';
for i=1:numel(AllSARfiles)
filename = AllSARfiles(i);
if strcmp('Thumbs.db',filename)
else
files1(i) = strcat(Path2Save,filename);
fn = files1{1,i};
[Hists1(i) , RGBt] = getImageHists(fn);
end
%
end
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER