PANDORE Version 6 | GREYC-IMAGE |
pextremumsharpening performs a contrast sharpening of the input image im_in. The objective is to highlight fine detail and to enhance details that are blurred. Sharpening consists in shrinking the width of intensity variation without affecting the mean intensity of regions on both sides of the variation.
The algorithm consists in replacing a pixel by the closest neighborhood minimum or maximum values.
Let W by a neighborhood, and im_in(p) a pixel of the input image:if (im_in(p)-min(W) < max-im_in(p)) then im_out[p]=min else im_out[p]=max
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 memory faults.
Sharpens the tangram.pan image.
pextremumsharpening tangram.pan a.pan
Rehaussement du contraste par utilisation des valeurs extrémales.
Author: Régis Clouard