Undefined function 'dwt2' for input arguments of type 'uint8'
Show older comments
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 Comments
Ankita Bansal
on 25 May 2018
Edited: Ankita Bansal
on 25 May 2018
Hi, can you share ROIout and which version of MATLAB you are using?
umair ilyas
on 24 Apr 2019
Input image A is undefined or invalid.
>> bfilter2
Error using bfilter2 (line 5)
Input image A is undefined or invalid.
Walter Roberson
on 24 Apr 2019
What are you expecting to have happen when you invoke bfilter2 as a command with no arguements ?
Answers (2)
Image Analyst
on 16 Apr 2017
So, try casting to double and see if that works:
[ll1, hl1, lh1, hh1] = dwt2(double(ROIout), 'db1');
2 Comments
Sai Challa
on 17 Apr 2017
Image Analyst
on 17 Apr 2017
Are you sure you have the Wavelet Toolbox installed? Type ver to double check.
Sajjad Ali
on 18 Jun 2017
0 votes
I have Wavelet Toolbox installed I tried your solution but it did not worked error is same still
4 Comments
Image Analyst
on 18 Jun 2017
Whose solution did you try? You forgot to post any code. How do you think anyone could even begin to help you. All you've done is to make an announcement. You haven't even asked a question, nor given anyone anything whatsoever to help you solve your problem.
Jan
on 18 Jun 2017
Please show us the result of
which dwt2 -all
S = license('inuse')
Mohammad Bhat
on 3 Mar 2018
Edited: Walter Roberson
on 25 May 2018
which dwt2 -all
S = license('inuse')
'dwt2' not found.
S =
1x2 struct array with fields:
feature
user
what to do now
Walter Roberson
on 25 May 2018
You need to reinstall the Wavelet toolbox and then command
rehash toolboxcache
Categories
Find more on Wavelet Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!