Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525177/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525177p26525177.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525258/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525258p26525258.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525259/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525259p26525259.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525260/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525260p26525260.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525261/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525261p26525261.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525263/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525263p26525263.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525264/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525264p26525264.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525266/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525266p26525266.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525268/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525268p26525268.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525269/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525269p26525269.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525270/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525270p26525270.html Sent from the R help mailing list archive at Nabble.com.
Hi all. It's been a long time since I wrote to this list. Glad to see the R project well and working. I am working with a 3D plot similar to this: http://old.nabble.com/file/p26525271/rgl-device.png rgl-device.png The underlying picture is a JPEG image, loaded with the rimage package and coerced to the matrix. Spheres denote control points, collected from this picture and must be situated over the certain points of the image. I display the image with rgl.points. In case of the standard video camera image (704x576) it has to display over 400000 points which is rather slow and memory consuming. How can I put an original JPEG on this plot? Another problem is that the picture is color initially, but was converted to the grayscale. I'd like to preserve colors. Any hints would be appreciated. -- View this message in context: http://old.nabble.com/How-to-display-an-image-on-RGL-plot--tp26525271p26525271.html Sent from the R help mailing list archive at Nabble.com.
On Thu, Nov 26, 2009 at 7:14 AM, Vladimir Eremeev <wl2776 at gmail.com> wrote:> The underlying picture is a JPEG image, loaded with the rimage package and > coerced to the matrix. > Spheres denote control points, collected from this picture and must be > situated over the certain points of the image. > I display the image with rgl.points. > In case of the standard video camera image (704x576) it has to display over > 400000 points which is rather slow and memory consuming. > How can I put an original JPEG on this plot? > > Another problem is that the picture is color initially, but was converted to > the grayscale. I'd like to preserve colors. >Try using surface3d with a flat surface (z=0) and a matrix of colours in the col= argument. See help(surface3d) for an example. Also STOP POSTING!!! There seems to be about 8 copies of your message in my inbox!!! Barry
On 26/11/2009 2:14 AM, Vladimir Eremeev wrote:> Hi all. > It's been a long time since I wrote to this list. Glad to see the R project > well and working. > > I am working with a 3D plot similar to this: > http://old.nabble.com/file/p26525177/rgl-device.png rgl-device.png > > The underlying picture is a JPEG image, loaded with the rimage package and > coerced to the matrix. > Spheres denote control points, collected from this picture and must be > situated over the certain points of the image. > I display the image with rgl.points. > In case of the standard video camera image (704x576) it has to display over > 400000 points which is rather slow and memory consuming. > How can I put an original JPEG on this plot? > > Another problem is that the picture is color initially, but was converted to > the grayscale. I'd like to preserve colors.I can't see that image; the link doesn't work. But the best way to display an image in rgl is to use texture mapping. There are examples in ?persp3d (where the texture is a world map, displayed on a globe) and demo(flag). See ?rgl.surface for a description of how texture coordinates are specified. Duncan Murdoch