I want to give an output to imread function.

1 次查看(过去 30 天)
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

采纳的回答

Jan
Jan 2019-4-9
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by