Borrar filtros
Borrar filtros

error in imshow()

2 visualizaciones (últimos 30 días)
abhinav
abhinav el 20 de Oct. de 2011
imshow() function is not working in my matlab2010.i got a solution as disable -nojvm option....but dont know how to disable it...plz help. plzzz answer me as early as possible.

Respuestas (2)

Naz
Naz el 20 de Oct. de 2011
imshow() does not take any matrix, the values mast be of some format (i am not sure). You can use imagesc(), which, I think, can take pretty much anything. If you want your image to be grayscale, do colormap('gray')

Walter Roberson
Walter Roberson el 20 de Oct. de 2011
Are you running in Mac OS Lion, and is using imshow crashing MATLAB?
If so could you double check to see whether you are perhaps running R2009A or earlier? R2009A or earlier together with Lion is has a known problem with imshow()
Note that if you use -nojvm then you will probably not be able to display any graphics include using imshow()

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by