Effacer les filtres
Effacer les filtres

I want to give an output to imread function.

1 vue (au cours des 30 derniers jours)
Faizullah khan
Faizullah khan le 9 Avr 2019
Réponse apportée : Jan le 9 Avr 2019
Hello Dears
Actulay i have run one filter and the output(denoised image) is shown. Now i want to give this output to imread function.
output is: subplot(1,2,2); imshow(dim, map)
i want to give the above output as input like : x=imread('subplot(1,2,2); imshow(dim, map)'); or Like: x=imread(' imshow(dim, map)');
Please help me how can i do because it give me erro.
Thanks

Réponse acceptée

Jan
Jan le 9 Avr 2019
The question is not meaningful. As the documentation explains, imread reads a file from the disk:
doc imread
Providing a string, which contains a Matlab command, is not meaningful in any way. There is no file called "imshow(dim, map)" on the disk. Unfortunately you did not mention, what this command should do. Maybe all you need is:
rgb = ind2rgb(dim, map);
Or perhaps you want a screenshot?
Please explain, what you want to achieve.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by