error-Cannot support cell array
Show older comments
I have a code for dual tree and reducing the co-efficients but i get error,please help
error is
Error using ==> cell2mat at 55
Cannot support cell arrays containing cell arrays or objects.
Error in ==> final at 9
w=cell2mat(w)
x=imread('st.tif');
x1=rgb2gray(x)
x=double(x1)
J = 3;
[Faf, Fsf] = FSfarras;
[af, sf] = dualfilt1;
w = dualtree2D(x, J, Faf, af)
threshold=0.624525
w=cell2mat(w)
NewData = w;
idx = w >= threshold;
NewData(idx) = threshold - eps(threshold);
size(I);
size(NewData);
Accepted Answer
More Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!