I am stuck in my code? Help me figure out where am i wrong??

1 view (last 30 days)
I am doing project in brain tumor segmentation. I stuck in feature extraction step which i done by using 1D wavelet decomposition...
i attached my file! Moreover it showing the following error: ??? Subscripted assignment dimension mismatch.
Error in ==> swtfeat2 at 61 feat(1:winsize,i) = detrend(curwin);
Error in ==> SkullStripping at 127 [e v sd en] = swtfeat2(ff,256,32,32);
i called the function using the command [e v sd en] = swtfeat2(ff,256,32,32);
pls help me where am i wrong!! But one thing i noticed! when i convert the final image to vector (1x(256*256)) I am getting output!!But when i use the image as (256x256) am getting this error! Please help me!!

Answers (0)

Categories

Find more on Wavelet Toolbox 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!