#!/bin/csh ####################################################################################################################################### # # # C A C H E M E N T D ' U N E I M A G E A T R A V E R S U N E A U T R E E N V R A I E S C O U L E U R S # # V I A U N E I N T E R P O L A T I O N U T I L I S A N T # # L A L U M I N A N C E C O N V O L U E E D U C A C H E : # # # # # # Utilisation : # # # # $xci/cache.23$Z <nom_image_vraies_coul> <nom_masque_vraies_coul> <nom_resultat_vraies_coul> [<Points>] # # # # # # Author of '$xci/cache.23$Z' : # # # # Jean-Francois Colonna (LACTAMME, AAAAMMJJhhmmss). # # # ####################################################################################################################################### set imageA=$1 set masqueA=$2 set imageR=$3 set Points=$4 FileTmpB nomM setArgum Points 49 # Parametrage de la convolution... # $xci/luminance.01$X AR=$masqueA$ROUGE AV=$masqueA$VERTE AB=$masqueA$BLEUE $formatI \ | $xci/seuil$X seuil=$NOIR \ $formatI \ | $xci/convol.01$X points=$Points \ R=$nomM $formatI execRVB $xci/interpole.02$X A1=$masqueA%s P=$nomM A2=$imageA%s R=$imageR%s $formatI # Masquage via la luminance de '$masqueA'. # FileTmpE nomM