hOW TO READ AN IMAGE INTO MATLAB STORED AS PDF

3 views (last 30 days)
Fodio Longman
Fodio Longman on 20 Dec 2018
Commented: Walter Roberson on 26 Dec 2018
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 Comments
Walter Roberson
Walter Roberson on 26 Dec 2018
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.

Sign in to comment.

Answers (1)

Akshay Khadse
Akshay Khadse on 26 Dec 2018
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:

Products

Community Treasure Hunt

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

Start Hunting!