필터 지우기
필터 지우기

reading an pdf image

조회 수: 9 (최근 30일)
nkumar
nkumar 2013년 10월 9일
댓글: chitresh 2013년 11월 1일
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

채택된 답변

chitresh
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
nkumar
nkumar 2013년 10월 10일
If i convert a pdf to image will the quality gets decreased?if so how i can convert document to image format,its quality must be clear for reading into matlab
chitresh
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 CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by