I want to give an output to imread function.

1 view (last 30 days)
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

Accepted Answer

Jan
Jan on 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.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!