フィルターのクリア

I want to find out SVD of a 7X7 matrix(small block of an frame) for frames in temporal direction.

1 回表示 (過去 30 日間)
I want to find out SVD of a block, of a frame in temporal direction but I am getting error"Undefined function 'svd' for input arguments of type 'uint32'"
for num=1:NumberOfimages
km{:,:,num}= rgb2gray(uint32(imread(sprintf('path of frames',num))));
im=km{:,:,num};
for i=24
for j=24
submatrix = im(24:30, 24:30);
S=svd(submatrix);
SCELL{:,:,num}=S;%stores all the eigen values
end
end
end

採用された回答

Jan
Jan 2017 年 3 月 26 日
Use:
S = svd(double(submatrix))

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEigenvalues についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by