How to save the image generated in matlab??
1 次查看(过去 30 天)
显示 更早的评论
I have a image of 4000*2000 size which is jpeg and two dimensional. I used this image intensity values to get a new image which is of same size (verified by using whos command), but when i m trying to save this new image it is being saved as 250*500 size where as i want it to be of 4000*2000
0 个评论
回答(1 个)
Image Analyst
2013-2-17
Use imresize()
3 个评论
Image Analyst
2013-2-17
编辑:Image Analyst
2013-2-17
If your image is 4000x2000 then using imwrite() to save it in jpeg format won't change the size. You must have done something to change the size in advance of calling imwrite(). Show your line of code where you call imwrite() plus a few lines before it, so I can see what you've done. And show the result of the whos command also
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!