saving image from a function

x=f(y) x= image resulting from the function of y
imshow(x)------> works fine
imwrite(x,location)-----> doesnt work, it says unable to read the file format
what should i do to save the image x

1 Comment

Please can you show the actual code and the error message from imwrite.

Answers (0)

This question is closed.

Tags

Asked:

on 20 Nov 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!