how to display the image
Afficher commentaires plus anciens
I=process(x,y,z) % "process" is the sub problem called in the main program to produce some output
Imshow(I) % displays the image
imwrite(I,path) % it does not save that image
instead it gives me the error that "the file format is not found from file name"
i tried using imsave % it works but i have to give the location and hence not suitable for large data
i have to save some 120 images that is not possible using imsave
someone pls help me how to save the image I which is displayed using imshow
4 commentaires
Stephen23
le 2 Déc 2014
A good point from Mohammad Abouali that deserves to be closer to the question:
Although MATLAB lets you define variable and function names that are the same as inbuilt functions, this can cause all sorts of awkward problems and really is best avoided.
RAMESH MUNIRATHINAM
le 3 Déc 2014
Please read my comment again: I did not write that you defined path as the function name, I wrote that path is being used as a variable name. However, note that both of these cases are best avoided, as path is an inbuilt function and shadowing inbuilt functions can cause problems that you really want to avoid.
RAMESH MUNIRATHINAM
le 4 Déc 2014
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Read, Write, and Modify Image dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!