[Radiance-general] changing header in images for evalglare

David Appelfeld d.appelfeld at gmail.com
Fri Dec 9 16:03:43 PST 2011


Thank you Greg, it is working.

Is there way how to include the view information in the header directly,
instead of manipulating header for each picture?

Best
David


On 9 December 2011 15:39, Greg Ward <gregoryjward at gmail.com> wrote:

> Use:
>
>        getinfo < orig.hdr > modified.hdr
>        # modify "modified.hdr" using favorite text editor, keeping final
> empty line (and no others)
>        getinfo - < orig.hdr >> modified.hdr
>
> If you're just adding a view line to the header, you could use:
>
>        echo "VIEW= -vta -vh 180 -vv 180" > modified.hdr
>        cat orig.hdr >> modified.hdr
>
> The latter method messes up the header slightly, but should still work.
>
> -Greg
>
> > From: David Appelfeld <d.appelfeld at gmail.com>
> > Date: December 9, 2011 3:28:10 PM PST
> >
> > Hello All,
> >
> > I want to use evalglare to evaluate glare in radiance images. I
> generated images by three phase method, unfortunately header of those
> images does not include view information, which I think that evalglare
> looks for explicitly.
> > I have tried to change the image header just in text editor but it  did
> not work and demage the image. I would like to ask how to change the
> header, I know that it may be trivial but I did spend some time on it
> already and did not find how to do it yet.
> >
> > Thank you for all advices.
> > David
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20111209/219734b3/attachment.html>


More information about the Radiance-general mailing list