Undefined function 'dwt2' for input arguments of type 'uint8'
13 次查看(过去 30 天)
显示 更早的评论
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
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
2019-4-24
What are you expecting to have happen when you invoke bfilter2 as a command with no arguements ?
回答(2 个)
Image Analyst
2017-4-16
So, try casting to double and see if that works:
[ll1, hl1, lh1, hh1] = dwt2(double(ROIout), 'db1');
2 个评论
Image Analyst
2017-4-17
Are you sure you have the Wavelet Toolbox installed? Type ver to double check.
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
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
2018-5-25
You need to reinstall the Wavelet toolbox and then command
rehash toolboxcache
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!