plastimatch
Loading...
Searching...
No Matches
interpolate.cxx File Reference
#include "plmbase_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "interpolate.h"
#include "plm_math.h"
#include "volume.h"

Functions

void li_clamp (float ma, plm_long dmax, plm_long *maf, plm_long *mar, float *fa1, float *fa2)
 
static void li_noclamp (plm_long *f, float *fa1, float *fa2, float idx, plm_long dmax)
 
static void li (plm_long *f, float *fa1, float *fa2, float idx, plm_long dmax)
 
void li_clamp_3d (const float mijk[3], plm_long mijk_f[3], plm_long mijk_r[3], float li_frac_1[3], float li_frac_2[3], const Volume *moving)
 
void li_noclamp_3d (plm_long ijk_f[3], float li_frac_1[3], float li_frac_2[3], const float ijk[3], const plm_long dim[3])
 
void li_2d (plm_long *ijk_f, float *li_frac_1, float *li_frac_2, const float *ijk, const plm_long *dim)
 
float li_value (float f1[3], float f2[3], plm_long mvf, float *m_img, Volume *moving)
 
float li_value_dx (float f1[3], float f2[3], float inv_rx, plm_long mvf, float *m_img, Volume *moving)
 
float li_value_dy (float f1[3], float f2[3], float inv_ry, plm_long mvf, float *m_img, Volume *moving)
 
float li_value_dz (float f1[3], float f2[3], float inv_rz, plm_long mvf, float *m_img, Volume *moving)
 

Function Documentation

◆ li()

static void li ( plm_long * f,
float * fa1,
float * fa2,
float idx,
plm_long dmax )
static

◆ li_2d()

void li_2d ( plm_long * ijk_f,
float * li_frac_1,
float * li_frac_2,
const float * ijk,
const plm_long * dim )

◆ li_clamp()

void li_clamp ( float ma,
plm_long dmax,
plm_long * maf,
plm_long * mar,
float * fa1,
float * fa2 )

◆ li_clamp_3d()

void li_clamp_3d ( const float mijk[3],
plm_long mijk_f[3],
plm_long mijk_r[3],
float li_frac_1[3],
float li_frac_2[3],
const Volume * moving )

◆ li_noclamp()

static void li_noclamp ( plm_long * f,
float * fa1,
float * fa2,
float idx,
plm_long dmax )
static

◆ li_noclamp_3d()

void li_noclamp_3d ( plm_long ijk_f[3],
float li_frac_1[3],
float li_frac_2[3],
const float ijk[3],
const plm_long dim[3] )

◆ li_value()

float li_value ( float f1[3],
float f2[3],
plm_long mvf,
float * m_img,
Volume * moving )

◆ li_value_dx()

float li_value_dx ( float f1[3],
float f2[3],
float inv_rx,
plm_long mvf,
float * m_img,
Volume * moving )

◆ li_value_dy()

float li_value_dy ( float f1[3],
float f2[3],
float inv_ry,
plm_long mvf,
float * m_img,
Volume * moving )

◆ li_value_dz()

float li_value_dz ( float f1[3],
float f2[3],
float inv_rz,
plm_long mvf,
float * m_img,
Volume * moving )