As far as I can tell, there are no facilities in the "base" R for image analysis. Is there any extension or package for R that implements image analysis? I'm thinking of features such as o Reading and writing image files, o displaying indexed or "true color" images, o resizing, cropping, etc, of images, o filters for manipulating images (smoothing, edge detection, etc) o feature extraction -- Bj?rn-Helge Mevik <bhm at math.uio.no> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "rM" == rn-Helge Mevik <Bj> writes:rM> As far as I can tell, there are no facilities in the "base" R rM> for image analysis. Is there any extension or package for R rM> that implements image analysis? I'm thinking of features such rM> as rM> o Reading and writing image files, o displaying indexed or rM> "true color" images, o resizing, cropping, etc, of images, o rM> filters for manipulating images (smoothing, edge detection, rM> etc) o feature extraction One approach is to use ImageJ (from NIH) for the analysis, and write backend code to extract the data into R using the RJava interface and a bit of coding. Some people here are working on that approach for cell/spot-counting analyses. best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini at blindglobe.net UW Biostat/Center for AIDS Research rossini at u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello Bjorn I have written some functions for personal use. They allow to read and write ppm, pgm and pbm images. But I haven't put them in a package, it's just C and R code. I think that generally you will need to use C or Fortran or something else but not R for most manipulations of images (e.g. filtering), so you might just want to write an R interface to existing code. My experience is that using R code directly will make things prohibitively slow if images get large. On the other hand I appreciate writing the code first in R, where the results are easy to check, and then transform it to C. For resizing, cropping etc. I recommend `xv'. Cheers, Peter =?iso-8859-1?Q?Bj=F8rn-Helge=5FMevik?= writes: > As far as I can tell, there are no facilities in the "base" R for image > analysis. Is there any extension or package for R that implements > image analysis? I'm thinking of features such as > > o Reading and writing image files, > o displaying indexed or "true color" images, > o resizing, cropping, etc, of images, > o filters for manipulating images (smoothing, edge detection, etc) > o feature extraction > > -- > Bj?rn-Helge Mevik <bhm at math.uio.no> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._