HXA7241 (logo)

four cornell box white-balancings

P3 WHITEBALANCER

a whitebalancer component for high-quality rendering

description

WhiteBalancer removes the color cast from an image.

This emulates the perceptual capability of ‘color-constancy’: it makes the colors look more like they did in the scene where the image was created.

It is a command-line application and a dynamic library, for Windows and Linux.

Application features:

  • reads and writes PPM and RGBE/HDR
  • reads and writes PNG and EXR — if you have the related libraries present
  • allows full control of the P3WhiteBalancer library

Library features:

  • float-triplet-pixel images accepted (linear, not gamma-corrected)
  • HDR or LDR images accepted
  • image colorspace and whitepoint specifiable
  • original illuminant specifiable, or automatically estimated
  • strength of color-shift adjustable
  • fast enough for semi-interactive use

images

cornellbox thumbnail
Cornellbox, auto-whitebalance
20k
church interior thumbnail
Church interior, auto-whitebalance
67k

downloads

Version 1.2 (2007-12-04)

windows icon p3whitebalancer12exe-win.zip application and library - Windows (189k)
linux icon p3whitebalancer12exe-lin.tgz application and library - Linux (x86) (79k)

license

P3WhiteBalancer can be used in other projects for free, under the following conditions:

  • With acknowledgement — project materials must include the following notice:
    P3WhiteBalancer: copyright (c) 2007, Harrison Ainsworth / HXA7241.
  • Not separately — P3WhiteBalancer must not be distributed as a stand-alone product.
  • Not commercially — a different license is required for that . . .

And I offer no warranties and disclaim all responsibilities — you know the usual stuff.

2007-12-09