/*************************************************************************************************************************************/
/* */
/* G E N E R A T I O N D E L A L I S T E D E S C O O R D O N N E S E T D E S N I V E A U X */
/* D ' U N E I M A G E N O N S T A N D A R D : */
/* */
/* */
/* Author of '$xrv/liste_image$K' : */
/* */
/* Jean-Francois COLONNA (LACTAMME, 20201212100526). */
/* */
/*************************************************************************************************************************************/
/*===================================================================================================================================*/
/*************************************************************************************************************************************/
/* */
/* I N T E R F A C E ' listG ' : */
/* */
/* */
/* :Debut_listG: */
/* :Fin_listG: */
/* */
/*************************************************************************************************************************************/
/*===================================================================================================================================*/
/*************************************************************************************************************************************/
/* */
/* D I R E C T I V E S S P E C I F I Q U E S D E C O M P I L A T I O N : */
/* */
/*************************************************************************************************************************************/
/*===================================================================================================================================*/
/*************************************************************************************************************************************/
/* */
/* F I C H I E R S D ' I N C L U D E S : */
/* */
/*************************************************************************************************************************************/
#include INCLUDES_BASE
#include image_image_IMAGESF_EXT
/*===================================================================================================================================*/
/*************************************************************************************************************************************/
/* */
/* V A L E U R S I M P L I C I T E S D E S P A R A M E T R E S : */
/* */
/*************************************************************************************************************************************/
#define PONDERATION_OX____ \
FZERO
#define PONDERATION_OY____ \
FZERO
#define PONDERATION_NIVEAU \
FZERO
/* Ponderation de selection des coordonnees et des niveaux... */
/*===================================================================================================================================*/
/*************************************************************************************************************************************/
/* */
/* D E F I N I T I O N D E S F I C H I E R S : */
/* */
/*************************************************************************************************************************************/
#include xrv/ARITHMET.1d.I"
#include xrv/ARITHMET.21.I"
#include xrv/champs_5.41.I"
/*===================================================================================================================================*/
/*************************************************************************************************************************************/
/* */
/* G E N E R A T I O N D E L A L I S T E D E S C O O R D O N N E S E T D E S N I V E A U X */
/* D ' U N E I M A G E N O N S T A N D A R D : */
/* */
/*************************************************************************************************************************************/
BCommande(nombre_d_arguments,arguments)
/*-----------------------------------------------------------------------------------------------------------------------------------*/
Bblock
#include xrv/ARITHMET.22.I"
#include xci/valeurs.03.I"
DEFV(CHAR,INIT(POINTERc(nom_imageA),NOM_PIPE_Local));
/* Nom de l'image a "etudier"... */
DEFV(Float,INIT(ponderation_OX____,PONDERATION_OX____));
DEFV(Float,INIT(ponderation_OY____,PONDERATION_OY____));
DEFV(Float,INIT(ponderation_NIVEAU,PONDERATION_NIVEAU));
/* Ponderation de selection des coordonnees et des niveaux... */
/*..............................................................................................................................*/
GET_ARGUMENTSi(nombre_d_arguments
,BLOC(PROCESS_ARGUMENT_I("nombre_elements=""ne=",nombre_d_elements
,BLOC(VIDE;)
,BLOC(Bblock
PRINT_AVERTISSEMENT("'ne=' doit etre defini avant toute entree de fichiers");
Eblock
)
);
GET_ARGUMENT_C("imageA=""A=",nom_imageA);
GET_ARGUMENT_F("ponderation_OX=""pX=",ponderation_OX____);
GET_ARGUMENT_F("ponderation_OY=""pY=",ponderation_OY____);
GET_ARGUMENT_F("ponderation_niveau=""pn=",ponderation_NIVEAU);
)
);
Test(PAS_D_ERREUR(CODE_ERROR(IloadF_image(IFmageA,nom_imageA))))
Bblock
begin_image
Bblock
EDITION_DANS_gOPERATION_SUR_LES_FICHIERS_AVEC_SAUT_DE_LIGNE(LIZ3(ponderation_OX____,_____cNORMALISE_OX(X)
,ponderation_OY____,_____cNORMALISE_OY(Y)
,ponderation_NIVEAU,loadF_point(IFmageA,X,Y)
)
);
Eblock
end_image
Eblock
ATes
Bblock
Test__CODE_ERREUR__ERREUR07;
Eblock
ETes
RETU_Commande;
Eblock
ECommande
Copyright © Jean-François COLONNA, 2020-2024.
Copyright © CMAP (Centre de Mathématiques APpliquées) UMR CNRS 7641 / École polytechnique, Institut Polytechnique de Paris, 2020-2024.