Why my fractal image compression code doesn't work at MRI image

1 次查看(过去 30 天)
Hello, currently i'm using a code to compress a MRI medical image but it's failed to compress that image. Could anyone help me solve this problem. Your help is greatly appreciated. Thank you.
Below is the error i found in MATLAB Command Window
Error using qtdecomp>ParseInputs (line 136)
A must be two-dimensional.
Error in qtdecomp (line 87)
[A, func, params, minDim, maxDim] = ParseInputs(varargin{:});
Error in main (line 18)
s=qtdecomp(I,0.1,[1 64]);%divides image using quadtree decomposition of

采纳的回答

Walter Roberson
Walter Roberson 2018-5-14
The code is designed for single grayscale images. The MRI image you are using might be color or might be a series of slices all stored in the same file.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fractals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by