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 CenterFile Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by