PANDORE Version 6 | GREYC-IMAGE |
phistogramspecification performs a gray-levels transformation of the input image im_in1 by using a particular histogram shape given by the reference image im_in2.
This operator is useful to enhance a list of images of the same scene. The first step is to enhance histogram of one of the image using particular techniques, and the other step is to apply the same histogram to the remainder images of the list.
The histogram specification is based on the following algorithm:
For color and multispectral images, the transform uses the marginal approach: it is applied on each band individually.
Returns SUCCESS or FAILURE in case of incompatible input images.
Applies the histogram transform to tangram.pan from a reference image built with a logarithmic transform of tangram.pan.
plogtransform 0 0 255 tangram.pan reference.pan phistogramspecification tangram.pan reference.pan a.pan
Rehaussement de contraste par spécification d'histogramme.
Author: Régis Clouard