Reading and showing multiple .png format pictures from a folder
显示 更早的评论
heyyy i am stuck in reading multiple .png format files from a folder and then i want to show it as well... i am using imread and imshow functions as well but its not working.. any idea? please help soon as i want it urgent :(
1 个评论
Jan
2011-12-25
I have removed the "urgent help --->". The term "urgent" does not encourage users to help you.
采纳的回答
更多回答(1 个)
bubble trouble
2011-12-25
5 个评论
bubble trouble
2011-12-25
Image Analyst
2011-12-25
I see no reason why your code should not work, though you can just show c and don't need the intermediate variable X. Even better would be if you chose descriptive variable names like rgbImage or grayImage rather than cryptic one or two letter variable names. What happens when it tries to execute the imshow() command? Is there some error message? Or does it just hang? Or does it display an all black image? What???
Image Analyst
2011-12-25
star girl, you should see my BlobsDemo at:
http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
If you still have problems after that post your image to tinypic.com.
Walter Roberson
2011-12-25
The code shown here does not define F.
Image Analyst
2011-12-25
You're right. I just glossed over that and assumed the imshow was showing the intermediate value X. Yep, that would cause the problem, and shows how things can be solved sooner if people would just post the actual error messages.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Preview and Device Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!