DTCWT image always error "Index in position 2 exceeds array bounds (must not exceed 2)." please help!!

1 次查看(过去 30 天)
I don't understand what's wrong with this :(
disp('Masukkan Gambar Host : ');
[filename2, pathname2] = uigetfile('*.bmp', 'Baca File Gambar');
pathfile2=fullfile(pathname2, filename2);
gambar=imread(pathfile2);
R=gambar(:,:,1);
red=R(:,:);
G=gambar(:,:,2);
B=gambar(:,:,3);
green=G(:,:);
blue=B(:,:);
wt = dddtree2('cplxdddt',blue,3,'self1','self2');
It's error with message "Index in position 2 exceeds array bounds (must not exceed 2)."

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by