Undefined function 'dwt2' for input arguments of type 'uint8'

13 ビュー (過去 30 日間)
Sai Challa
Sai Challa 2017 年 4 月 16 日
コメント済み: Walter Roberson 2019 年 4 月 24 日
Undefined function 'dwt2' for input arguments of type 'uint8'
I get this error when running the code below:
[ll1,hl1,lh1,hh1]=dwt2(ROIout,'db1');
ROIout is the ROI output of a DICOM image which was converted to uint 8.
Thanks in advance.
  3 件のコメント
umair ilyas
umair ilyas 2019 年 4 月 24 日
Input image A is undefined or invalid.
>> bfilter2
Error using bfilter2 (line 5)
Input image A is undefined or invalid.
Walter Roberson
Walter Roberson 2019 年 4 月 24 日
What are you expecting to have happen when you invoke bfilter2 as a command with no arguements ?

サインインしてコメントする。

回答 (2 件)

Image Analyst
Image Analyst 2017 年 4 月 16 日
So, try casting to double and see if that works:
[ll1, hl1, lh1, hh1] = dwt2(double(ROIout), 'db1');
  2 件のコメント
Sai Challa
Sai Challa 2017 年 4 月 17 日
It didn't work.
Undefined function 'dwt2' for input arguments of type 'double'.
This is the error, I get.
Image Analyst
Image Analyst 2017 年 4 月 17 日
Are you sure you have the Wavelet Toolbox installed? Type ver to double check.

サインインしてコメントする。


Sajjad Ali
Sajjad Ali 2017 年 6 月 18 日
I have Wavelet Toolbox installed I tried your solution but it did not worked error is same still
  4 件のコメント
Mohammad Bhat
Mohammad Bhat 2018 年 3 月 3 日
編集済み: Walter Roberson 2018 年 5 月 25 日
which dwt2 -all
S = license('inuse')
'dwt2' not found.
S =
1x2 struct array with fields:
feature
user
what to do now
Walter Roberson
Walter Roberson 2018 年 5 月 25 日
You need to reinstall the Wavelet toolbox and then command
rehash toolboxcache

サインインしてコメントする。

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by