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

11 visualizaciones (últimos 30 días)
Sai Challa
Sai Challa el 16 de Abr. de 2017
Comentada: Walter Roberson el 24 de Abr. de 2019
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 comentarios
umair ilyas
umair ilyas el 24 de Abr. de 2019
Input image A is undefined or invalid.
>> bfilter2
Error using bfilter2 (line 5)
Input image A is undefined or invalid.
Walter Roberson
Walter Roberson el 24 de Abr. de 2019
What are you expecting to have happen when you invoke bfilter2 as a command with no arguements ?

Iniciar sesión para comentar.

Respuestas (2)

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

Iniciar sesión para comentar.


Sajjad Ali
Sajjad Ali el 18 de Jun. de 2017
I have Wavelet Toolbox installed I tried your solution but it did not worked error is same still
  4 comentarios
Mohammad Bhat
Mohammad Bhat el 3 de Mzo. de 2018
Editada: Walter Roberson el 25 de Mayo de 2018
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 el 25 de Mayo de 2018
You need to reinstall the Wavelet toolbox and then command
rehash toolboxcache

Iniciar sesión para comentar.

Categorías

Más información sobre Wavelet Toolbox en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by