Re: [R] Is it possible to read jpeg files into R?

About this list Date view Thread view Subject view Author view Attachment view

From: Robert W. Baer, Ph.D. (rbaer@atsu.edu)
Date: Thu 27 May 2004 - 22:25:23 EST


Message-id: <002d01c443e5$af15f4c0$2e80010a@BigBaer>


?pixmap in the pixmap library might be of use to you.

Rob Baer

----- Original Message -----
From: "Jonathan Williams" <jonathan.williams@pharmacology.oxford.ac.uk>
To: "Ethz. Ch" <r-help@stat.math.ethz.ch>
Sent: Thursday, May 27, 2004 7:21 AM
Subject: [R] Is it possible to read jpeg files into R?

> Hi Helpers,
> Does anyone know how to read jpeg, bmp or png files into R?
> I have some photos of brain scans and I want to quantify
> some aspects of their size. I might be able to do this
> with the 'locator' function, if I could figure out how
> to read the files in and make them into an image that
> I can display on the R Windows device. I have experimented
> with readBin, using a simple black-and-white line graph,
> but the numeric result appears to be much too complex for
> a simple line graph and I cannot see how to use image or
> contour to re-create the original jpeg image. Is there an
> R routine to do this?
>
> Thanks, in advance, for your help,
>
> Jonathan Williams
> OPTIMA
> Radcliffe Infirmary
> Woodstock Road
> OXFORD OX2 6HE
> Tel +1865 (2)24356
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:13 EST