PANDORE Version 6 | GREYC-IMAGE |
plipadd computes the addition of the two input images im_in1 and im_in2, according to the LIP model (Logarithmic Image Processing).
The LIP image addition is defined as:
im_out(x,y) = im_in1(x,y) + im_in2(x,y) - [ (im_in1(x,y).im_in2(x,y)) / M]where M is the number of gray tones (eg, 256 for byte images)
The two inputs must be of the same type. The output image is of same type as the input images.
For color or multispectral image, the addition is computed separately on each band (marginal approach).
Returns SUCCESS or FAILURE.
Adds to images a.pan and b.pan, and result in result.pan:
plipadd a.pan b.pan result.pan
Addition de 2 images selon le modèle LIP.
Author: Régis Clouard