hOW TO READ AN IMAGE INTO MATLAB STORED AS PDF

조회 수: 4 (최근 30일)
Fodio Longman
Fodio Longman 2018년 12월 20일
댓글: Walter Roberson 2018년 12월 26일
Hello,
I have an Image File stored in a PDF file format. It is a hyperspectral image means it has many bands. How can i read this into matlab please?
Thank you
  댓글 수: 2
Guillaume
Guillaume 2018년 12월 20일
Most likely, you won't be able to extract the image from the pdf. The pdf format is designed for consumption by humans, not by computers. Depending on how the image is actually stored in the pdf it would be difficult to downright impossible to extract it.
Can't you export that image in a different, more suitable, format in the first place?
Walter Roberson
Walter Roberson 2018년 12월 26일
I did some research about the internals of pdf.
Normally input raster images such as tiff or png are torn apart by the software creating the pdf, to be stored as interleaved streams of pixel values, possibly compressed. dct compression such as is done by jpeg is supported but otherwise it is just things like LZ lossless compression of pixel data. Original image contents such as png are not stored.
Representation of hyperspectral images is not completely impossible: it can happen through a DEVICEN colorspace. Such colorspaces must specify how to translate the input values into printable images. So for example an image that is rgb plus two IR channels could specify how to merge the 5 to create ann augmented pdfprinted image. Notice that the intention is not to be usable as aa data storage container: it is all about printing . And the limit on the number of bands is 8.
So I doubt you have a hyperspectral image in pdf. It might have started as hyperspectral but it is probably not still one.

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

답변 (1개)

Akshay Khadse
Akshay Khadse 2018년 12월 26일
As per my knowledge, extracting images from PDF using MATLAB alone is not possible due to the varying methods to store data in the PDF file. Please refer the following MATLAB Answer to know some of these reasons:

카테고리

Help CenterFile Exchange에서 Hyperspectral Image Processing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by