00001
00011 #include <stdio.h>
00012 #include <stdlib.h>
00013 #include <string.h>
00014 #include <time.h>
00015 #include <math.h>
00016 #include <inrimage/image.h>
00017 #include <inrimage/error.h>
00018 #include "utils.h"
00019 #include "inricache.h"
00020
00021 #ifndef __INTERPOLATION_H__
00022 #define __INTERPOLATION_H__
00023
00049 void plan2volcal(char * s2D, char * d2D, char * s3D, char * d3D,float x_pas,float y_pas,int x,int y, int z,int x0, int y0,float min2D,float max2D,int taille_cache,int time_flag);
00050
00061
00062
00075 void gradients3D(char * img,char *gx,char * gy,char * gz,int rayon,double sigma,int taille_cache,int time_flag);
00076
00089 void courbure(char * imgSrc,char * imgDest,int rho,double sigma,int taille_cache,int time_flag);
00090
00102 void calculW(char * distSrc,char *distDest,char * kmSrc,char * kmDest,char *tempoW,int taille_cache,int time_flag);
00103
00116 void g3Dc(char * distSrc,char * tempoW,char * distGeod,int nb_iter,float ptTau,int taille_cache,int time_flag);
00117
00129 void dist2isosurf(char *distances,char * famille,float marge,int nb_fam,int time_flag);
00130
00146 char ** separation(struct image * img_distances,struct nf_fmt gfmt_in,struct nf_fmt * gfmt_out,float marge,int nb_fam,int *nv_zero,int time_flag);
00147
00167 void visualisation(char ** noms_image,int nb_images,char * texture2D,int texture_flag,int time_flag,int repere_flag,int fil_de_fer_flag,int nbSubdivmax,int nb_voulu,float marge,int argc,char ** argv);
00168
00169 #endif