Click here to Skip to main content
15,916,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
K = MENU('Choose a file','Test A','Test V','Test L','Test 1','Test From other DBs');
if K == 1
loop=3
for i=1:loop
string = ['G:\Test\A.tif'];
Rimages{i} = imread(string);

end

elseif K == 2
loop=7
for i=1:loop
string = ['G:\Test\V.tif'];
Rimages{i} = imread(string);
end

elseif K == 3
loop=5
for i=1:loop
string = ['G:\Test\L.tif'];
Rimages{i} = imread(string);
end
elseif K == 4
loop=5
for i=1:loop
string = ['G:\Test\1.tif'];
Rimages{i} = imread(string);
end

elseif K == 5
loop=13
for i=1:loop
string = ['G:\Test\otherdb.tif'];
Final Report - Hand Gesture Recognition using Neural Networks 62
Rimages{i} = imread(string);
end
end
imshow(Rimages{i})

T{i} = imresize(Rimages{i},[126 126]);
figure,imshow(T{i})

After running this program Ihave got error "Cell contents assignment to a non-cell array object."
Can anybody please help me to solve this problem?

[edit]Subject changed to meaningful: please make them descriptive, "please help" is not a lot of use to anyone - OriginalGriff[/edit]
Posted
Updated 14-Feb-11 21:13pm
v3
Comments
JF2015 15-Feb-11 1:33am    
Edited to add code formatting.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900