hOW TO READ AN IMAGE INTO MATLAB STORED AS PDF

6 次查看(过去 30 天)
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