Displaying 4 results from an estimated 4 matches for "bbcent".
Did you mean:
absent
2003 Sep 02
2
identify with image
...lysis. But the following bombs R:
(windows XP, rw1071)
> str(baboon)
list()
- attr(*, "size")= int [1:2] 512 512
- attr(*, "cellres")= num [1:2] 1 1
- attr(*, "bbox")= num [1:4] 0 0 512 512
- attr(*, "channels")= chr "grey"
- attr(*, "bbcent")= logi FALSE
- attr(*, "class")= chr "pixmapGrey"
- attr(*, "grey")= num [1:512, 1:512] 0.537 0.510 0.345 0.259 0.322
...
> class(baboon)
[1] "pixmapGrey"
> library(pixmap)
> plot(baboon)
> identify(baboon, n=1)
... and then R bombs!
Wh...
2008 May 23
1
seeing an S4 method, not using it
...and starting a new session, loading the .RData
##### (pixmap is not loaded)
> foo
Loading required package: pixmap ## <-- pixmap loaded automatically
An object of class ?pixmap?
Slot "size":
[1] 0 0
Slot "cellres":
[1] 0 0
Slot "bbox":
[1] 0 0 0 0
Slot "bbcent":
logical(0)
## the object is not printed correctly. Yet:
> getMethod("show","pixmap")
Method Definition:
function (object)
{
cat("Pixmap image\n")
cat(" Type :", class(object), "\n")
cat(" Size :", paste(object at size, collap...
2003 Sep 03
0
identify() seg.faults (PR#4057)
...str(baboon)
> > list()
> > - attr(*, "size")= int [1:2] 512 512
> > - attr(*, "cellres")= num [1:2] 1 1
> > - attr(*, "bbox")= num [1:4] 0 0 512 512
> > - attr(*, "channels")= chr "grey"
> > - attr(*, "bbcent")= logi FALSE
> > - attr(*, "class")= chr "pixmapGrey"
> > - attr(*, "grey")= num [1:512, 1:512] 0.537 0.510 0.345 0.259 0.322
> > ...
> > > class(baboon)
> > [1] "pixmapGrey"
> > > library(pixmap)
> > &...
2005 Aug 04
3
how to read individual values from a pixmap object
Hi All,
I have a greyscale image that I am reading in through RGDAL and placing in a
pixmap object.
As an example use the logo.jpg file that comes with the RGDAL package:
#Read the file
logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
x <- new("GDALReadOnlyDataset", logo)
#Create the pixmap object
xGrey <- getPixmapGDAL(x)
Now I would