Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
行列をdct2関数に渡そうとしていますが、エラーが表示されています。matlabバージョンR2012aを使用しています。以下のように引数として使用した行列Bがあります
B = dct2(A); disp(B);
エラーは次のように表示されます
Undefined function 'dct2' for input arguments of type 'uint8'. Error in image_dct (line 24) B = dct2(A);
それを使用するには、画像処理ツールキットが必要です。あなたがそれを持っていると仮定すると、それはあなたがリストしたのと同じくらい簡単でなければなりません。