Azzera filtri
Azzera filtri

I want to give an output to imread function.

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Jan
Jan il 9 Apr 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.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by