Undefined function 'fftshow' for input arguments of type 'double'.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
KYU DEOK OH
le 30 Jan 2015
Commenté : KYU DEOK OH
le 30 Jan 2015
I want to show bandpass filtered image. This is matlab code i used
To aquire filtered image, there is an error in code.
what should i do for correct this error?
(image size : 1200x1200, gray scale)
0 commentaires
Réponse acceptée
David Young
le 30 Jan 2015
You probably don't have fftshow.m on your MATLAB path. This m-file is not part of MATLAB or its toolboxes, but needs to be obtained from somewhere else, such as the File Exchange. Make sure you have downloaded it, and put it in a folder that is on your path.
To check, give the command
which fftshow
Plus de réponses (1)
Luuk van Oosten
le 30 Jan 2015
use
single(ima_out)
to convert the 'double' to 'single'.
1 commentaire
David Young
le 30 Jan 2015
Where is there a version of fftshow that accepts single but not double arguments? Why would anyone write such a thing?
Voir également
Catégories
En savoir plus sur Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!