[Radiance-general] Can you change the default colors in falsecolor images

Axel Jacobs jacobs.axel at gmail.com
Thu Aug 28 13:32:30 PDT 2014


Hi Shrikar,

I suppose you have discovered the -pal and -palettes options, but this 
still doesn't give you what you want?

You can create custom scales using the -r, -g and -b options.  Here is 
an example for a 3-step blue-yellow-white scale:

falsecolor –ip picture.hdr –s 5000 –r ‘if(v-0.3,1,0)’ \
–g ‘if(v-0.3,1,0)’ –b ‘if(v-0.3,if(v-0.7,1,0)1)’ > picture_fc.hdr

It requires a bit of cal magic.  You may also look at the falsecolor 
code for inspiration.

Best

Axel


On 28/08/14 21:20, Shrikar Bhave wrote:
> Hello All,
>
> Got this unusual request. I am not sure how I can change that. Any
> pointers?
> Can I set custom colors based on say min/max and number of desired steps
> in between?
> I am looking at both Luminance and Illuminance falsecolor images.
> Has anyone attempted that before, if yes, any examples?
>
> Thanks,
>
> Shri
>
> P.S> Apologies for my past emails with attachments, I promise I will be
> diligent next time!
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>




More information about the Radiance-general mailing list