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?

답변 (1개)

Image Analyst
Image Analyst 2015년 2월 18일

0 개 추천

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

nazneen
nazneen 2015년 2월 20일
편집: nazneen 2015년 2월 20일
I am actually working with grey images, does that still apply? I haven't figured out the problem but when i limit the size of the image to the size of the first image in the window it doesn't tend to repeat itself. Thank you
Image Analyst
Image Analyst 2015년 2월 20일
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 2015년 2월 20일
편집: nazneen 2015년 2월 20일
I guess it was a glitch in my code since after i changed the size limit it worked fine.
Thank you for your help.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2015년 2월 18일

편집:

2015년 2월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by