[R-sig-Geo] Displaying CIR images and overlay shape files
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Wed May 21 22:09:38 CEST 2008
A familiar problem. This works (for S3 methods at least):
> library(sp)
> methods(image)
[1] image.default image.SpatialGridDataFrame*
[3] image.SpatialPixelsDataFrame*
Non-visible functions are asterisked
> ?image.SpatialGridDataFrame
--
Edzer
Monica Pisica wrote:
> Bingo, it did work .... my fault was to look at the help inside R for
> "image" and i didn't see the arguments red, green, blue, but looking
> at the pdf manual for sp i found the complete definition of "image".
>
> Thanks so much,
>
> Monica
>
> > Date: Wed, 21 May 2008 21:45:27 +0200
> > From: edzer.pebesma at uni-muenster.de
> > To: pisicandru at hotmail.com
> > CC: r-sig-geo at stat.math.ethz.ch
> > Subject: Re: [R-sig-Geo] Displaying CIR images and overlay shape files
> >
> > Monica Pisica wrote:
> > > I suppose that somehow I can use spplot, but I have to recognize
> that I don't know how to use it to display the CIR image …..
> > >
> > This would be a way that I haven't explored. When looking in sp, a
> place
> > to start would be the image method; it has arguments red green and blue
> > where you pass these bands; then it composites colour.
> >
> > A similar trick should be do-able for spplot, but it's not in there, as
> > of now; right now you can only pass a factor and the colours to use.
> > --
> > Edzer
> > >
> > > Any help is very much appreciated, thanks,
> > >
> > >
> > > Monica
> > >
> > > _________________________________________________________________
> > > Change the world with e-mail. Join the i’m Initiative from Microsoft.
> > >
> > > ld
> > > _______________________________________________
> > > R-sig-Geo mailing list
> > > R-sig-Geo at stat.math.ethz.ch
> > > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> > >
> >
>
>
> ------------------------------------------------------------------------
> Keep your kids safer online with Windows Live Family Safety. Help
> protect your kids.
> <http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008>
More information about the R-sig-Geo
mailing list