__header__
If both WHITE and BLACK images are specified
IMAGE = scale * (IMAGE - BLACK) / (WHITE - BLACK)
If only WHITE image is specified
IMAGE = scale * IMAGE / WHITE
If only BLACK image is specified
IMAGE = IMAGE - BLACK
scale = 1 ie 255 by default