[Radiance-general] pcomb

Tarik Rahman tarik.rahman at ed.ac.uk
Wed Apr 13 16:06:15 CEST 2005


That's a good idea, perfect. Thanks for that

Tarik
Quoting Giulio Antonutto <Giulio.Antonutto at arup.com>:

> Tarik
> What I would suggest is to render the box with -av 100 100 100 -ab 0,
> without light sources (should be really quick).
> After that perform a multiplication of the image with the white box and the
> one with the box and the room together.
> Since where is black is 0, you should have just the box at the end by
> filtering:
>
> Pcomb -e 'lo=if(li(1)*li(2),li(1),0);' room whitebox > final
>
> Or
> -e 'ro=if(ri(1)*ri(2),ri(1),0); go=if(gi(1)*gi(2),gi(1),0);
> bo=if(bi(1)*bi(2),bi(1),0)'
>
>
> hope it works,
> giulio
>
>
> BTW Check that the luminance is the same at the end.
>
>
> -----Original Message-----
> From: radiance-general-bounces at radiance-online.org
> [mailto:radiance-general-bounces at radiance-online.org] On Behalf Of Tarik
> Rahman
> Sent: 12 April 2005 14:26
> To: Radiance general discussion
> Subject: [Radiance-general] pcomb
>
> Hi there
> I'm working with pcomb ; I have 2 images, one with a box in a room and one
> with
> the empty room. I just want the box so I subtract the empty room but the
> result
> doesn't seem to look like the box in the first picture, it's much brighter
> in
> some areas and much darker in others. Am I missing something?
> Thanks for any help
>
> Tarik
>
> --
> Tarik Rahman
> PhD student, Institute of Perception, Action and Behaviour
> School of Informatics
> University of Edinburgh
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
> ___________________________________________________________________
> Electronic mail messages entering and leaving Arup business
> systems are scanned for acceptability of content and viruses.
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>


--
Tarik Rahman
PhD student, Institute of Perception, Action and Behaviour
School of Informatics
University of Edinburgh



More information about the Radiance-general mailing list