Borrar filtros
Borrar filtros

Image repetition in the same window

7 visualizaciones (últimos 30 días)
nazneen
nazneen el 18 de Feb. de 2015
Editada: nazneen el 20 de Feb. de 2015
I am not sure why this is happening but for some of my images that i display using imshow the image gets repeated thrice in the same window (as three columns) . Can someone please help me out with this? Do you require the code?

Respuestas (1)

Image Analyst
Image Analyst el 18 de Feb. de 2015
It could be that you're looking at a raw color image that has not been demosaiced properly, for example if you just read in a BMP image with fread() instead of imread().
  3 comentarios
Image Analyst
Image Analyst el 20 de Feb. de 2015
Can you attach the image? If it displays fine for me then it must be your code. Use the debugger to step through it and find out what line of code(s) does the display.
nazneen
nazneen el 20 de Feb. de 2015
Editada: nazneen el 20 de Feb. de 2015
I guess it was a glitch in my code since after i changed the size limit it worked fine.
Thank you for your help.

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by