At the moment, I have to first convert (outside MATLAB) the image from PDF to JPEG format so that I can use imread in MATLAB. Is there a direct way to read in a (single page) PDF file as an image? Many thanks.
I suspect this is not possible because PDF is not an image format but a container format that may contain text, one or more raster images, and one or more vector graphics.
ThePDF "standard" is not an image file format, although in some ways the entirePDF is a bit like an image, in that it contains information about the locations and presentation of elements on a page. This means that it is extremely versatile, but also very unwieldy and not very friendly for the simple extraction of text or images. If the image that you want is an embedded bitmap image (e.g.JPG, etc), then there may be some tool for extracting this. If it is something like anEPS, then it may be easier to convert this to EPS and import this format into MATLAB.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.