reading an pdf image
4 次查看(过去 30 天)
显示 更早的评论
I have an pdf ,in which i have converted to image format,when i read into matlab using imread,the document is not clear as the original image ,plz tell why i get like this
my image
0 个评论
采纳的回答
chitresh
2013-10-9
first of all its almost same after downloading the file you upload on link,your file is in png format,if you want to increase the quality u can create a jpg file first and then using quality command u can see the change in it. a = imread('pdf.jpg'); imwrite(a,'pdf.jpg'); imshow('pdf.jpg'); imfinfo('pdf.jpg'); imwrite(a,'pdf1.jpg','quality',100); figure, imshow('pdf1.jpg'); imfinfo('pdf1.jpg');
hope this will help you...
2 个评论
chitresh
2013-11-1
i have already mentioned the code above seems you havnt try it, try it first, it increases the quality to 100 % of the jpg image. you upload pnj image not pdf, and you can convert pdf to image format have a look to this link http://www.mathworks.com/matlabcentral/fileexchange/7952-text2image-convert-an-ascii-text-file-to-image hope you satisfied with the answer
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!