matlab程序中使用qtdecomp函数出错!!! 20
J=imread('fire.jpg');I1=rgb2gray(J);figure,imshow(I1)%选取阈值为0.2,对原始图像进行四叉树分解,并以灰度图的形式显...
J=imread('fire.jpg');
I1= rgb2gray(J);
figure,imshow(I1)
%选取阈值为0.2,对原始图像进行四叉树分解,并以灰度图的形式显示分解所得的稀疏矩阵
S = qtdecomp(I1,0.2);
S2=full(S);
figure,imshow(S2)
这是程序,运行后提示错误为??? Error using ==> qtdecomp>ParseInputs
Size of A is not a multiple of the maximum block dimension
Error in ==> qtdecomp at 88
[A, func, params, minDim, maxDim] = ParseInputs(varargin{:});
求教高手!!! 展开
I1= rgb2gray(J);
figure,imshow(I1)
%选取阈值为0.2,对原始图像进行四叉树分解,并以灰度图的形式显示分解所得的稀疏矩阵
S = qtdecomp(I1,0.2);
S2=full(S);
figure,imshow(S2)
这是程序,运行后提示错误为??? Error using ==> qtdecomp>ParseInputs
Size of A is not a multiple of the maximum block dimension
Error in ==> qtdecomp at 88
[A, func, params, minDim, maxDim] = ParseInputs(varargin{:});
求教高手!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询