[GRASS-user] problem with d.anaglyph

Markus Neteler neteler at osgeo.org
Thu Jun 5 14:07:00 PDT 2014


On Wed, May 28, 2014 at 3:14 AM, Mayeli Sanchez Martinez
<acciondirecta at ada.org.mx> wrote:
> Hi!
> I'm trying to make an anaglyph with d.anaglyph using a quickbird image
> but I have problems.
> The process I use is:
> 1) Creating a composite image with r.composite
> 2) Creating a region and a mask  (because I first wanted to try a
> smaller fraction)
> 3) Invoke d.anaglyph (all options are given default and only give name
> to the output png) image.
> but does not create the image.
> If they do it from terminal output image are just colored lines.
> I'm using debian grass64.

Same issue on Fedora, so something is odd in the d.anaglyph addon
(which probably works only with a GRASS version < 6.4):

I tried with the North Carolina dataset:

g.region rast=lsat7_2000_10
r.composite blue=lsat7_2000_10 green=lsat7_2000_20 \
     red=lsat7_2000_30 out=lsat7_2000.rgb
d.anaglyph lsat7_2000.rgb out=lsat7_2000.rgb.anaglyph

gwenview lsat7_2000.rgb.anaglyph.png
--> not the expected result.

Perhaps the author can help you (us)? It is a shell script,
essentially around m.nviz.image.

Markus


More information about the grass-user mailing list