imread and imwrite commands showing an error like ' file does not exist '..so is that necessary to add image in matlab??if yes then how it cud be done..plz help..
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Krupali Macwan
el 20 de Feb. de 2013
Comentada: juan manuel Buritica Montoya
el 12 de Mayo de 2020
when i write imread nd imshow command in editor window it shows error that file does not exist..so wat shud i do?? is there any other step to first ADD image and then process it??
0 comentarios
Respuesta aceptada
Thorsten
el 20 de Feb. de 2013
When your image is stored at some location ('C:\Documents and Settings\yourname\My Documents\images\lena.tif') use
I = imread('C:\Documents and Settings\yourname\My Documents\images\lena.tif');
Or add the directory to Matlab's search path
addpath 'C:\Documents and Settings\yourname\My Documents\images\'
I = imread('lena.tif');
2 comentarios
Más respuestas (1)
Rasleen Kaur
el 3 de Jul. de 2018
if you are importing correct path still it isn't working then there must be a problem with colour space of the image. Try importing different image.
0 comentarios
Ver también
Categorías
Más información sobre Modify Image Colors en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!