I want to give an output to imread function.

1 visualización (últimos 30 días)
Faizullah khan
Faizullah khan el 9 de Abr. de 2019
Respondida: Jan el 9 de Abr. de 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

Respuesta aceptada

Jan
Jan el 9 de Abr. de 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.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by