can't understand this statement
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Terry McGinnis
le 10 Juin 2015
Commenté : Terry McGinnis
le 10 Juin 2015
while impliminting the code for bilateral filtering from link
i took the input for a small sized image.but the cartoon function gives the following error
??? Error using ==> cartoon at 43 Input image A must be a double precision matrix of size NxMx3 on the closed interval [0,1].
how should i change the code to accommodate this image whose dimensions are 24*18 pixels
Thanks in advance :]
0 commentaires
Réponse acceptée
Walter Roberson
le 10 Juin 2015
T = im2double(YourMatrix) ;
T2 = repmat(T, 1, 1, 3);
cartoon(T2)
2 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!