Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
image_interpolation.c File Reference
#include "math.h"
#include "image_interpolation.h"
Include dependency graph for image_interpolation.c:

Functions

double getintensity_mindex2 (int x, int y, int sizx, int sizy, double *I)
 
double getcolor_mindex2 (int x, int y, int sizx, int sizy, double *I, int rgb)
 
double getcolor_mindex3 (int x, int y, int z, int sizx, int sizy, int sizz, double *I)
 
float getcolor_mindex3_float (int x, int y, int z, int sizx, int sizy, int sizz, float *I)
 
double interpolate_2d_linear_gray_black (double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
double interpolate_2d_cubic_gray_black (double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
double interpolate_2d_cubic_gray (double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
double interpolate_2d_linear_gray (double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
void interpolate_2d_cubic_color_black (double *Ipixel, double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
void interpolate_2d_cubic_color (double *Ipixel, double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
void interpolate_2d_linear_color_black (double *Ipixel, double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
void interpolate_2d_linear_color (double *Ipixel, double Tlocalx, double Tlocaly, int *Isize, double *Iin)
 
double interpolate_3d_linear_black (double Tlocalx, double Tlocaly, double Tlocalz, int *Isize, double *Iin)
 
double interpolate_3d_linear (double Tlocalx, double Tlocaly, double Tlocalz, int *Isize, double *Iin)
 
double interpolate_3d_cubic_black (double Tlocalx, double Tlocaly, double Tlocalz, int *Isize, double *Iin)
 
double interpolate_3d_cubic (double Tlocalx, double Tlocaly, double Tlocalz, int *Isize, double *Iin)
 
float interpolate_3d_float_linear_black (float Tlocalx, float Tlocaly, float Tlocalz, int *Isize, float *Iin)
 
float interpolate_3d_float_linear (float Tlocalx, float Tlocaly, float Tlocalz, int *Isize, float *Iin)
 
float interpolate_3d_float_cubic_black (float Tlocalx, float Tlocaly, float Tlocalz, int *Isize, float *Iin)
 
float interpolate_3d_float_cubic (float Tlocalx, float Tlocaly, float Tlocalz, int *Isize, float *Iin)
 
double interpolate_2d_double_gray (double Tlocalx, double Tlocaly, int *Isize, double *Iin, int cubic, int black)
 
void interpolate_2d_double_color (double *Ipixel, double Tlocalx, double Tlocaly, int *Isize, double *Iin, int cubic, int black)
 
double interpolate_3d_double_gray (double Tlocalx, double Tlocaly, double Tlocalz, int *Isize, double *Iin, int cubic, int black)
 
float interpolate_3d_float_gray (float Tlocalx, float Tlocaly, float Tlocalz, int *Isize, float *Iin, int cubic, int black)
 

Function Documentation

◆ getcolor_mindex2()

double getcolor_mindex2 ( int x,
int y,
int sizx,
int sizy,
double * I,
int rgb )

◆ getcolor_mindex3()

double getcolor_mindex3 ( int x,
int y,
int z,
int sizx,
int sizy,
int sizz,
double * I )

Referenced by interpolate_3d_cubic(), interpolate_3d_cubic_black(), interpolate_3d_linear(), and interpolate_3d_linear_black().

Here is the caller graph for this function:

◆ getcolor_mindex3_float()

float getcolor_mindex3_float ( int x,
int y,
int z,
int sizx,
int sizy,
int sizz,
float * I )

◆ getintensity_mindex2()

double getintensity_mindex2 ( int x,
int y,
int sizx,
int sizy,
double * I )

◆ interpolate_2d_cubic_color()

void interpolate_2d_cubic_color ( double * Ipixel,
double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getcolor_mindex2(), pow2(), and pow3().

Referenced by interpolate_2d_double_color().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_cubic_color_black()

void interpolate_2d_cubic_color_black ( double * Ipixel,
double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getcolor_mindex2(), pow2(), and pow3().

Referenced by interpolate_2d_double_color().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_cubic_gray()

double interpolate_2d_cubic_gray ( double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getintensity_mindex2(), pow2(), and pow3().

Referenced by interpolate_2d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_cubic_gray_black()

double interpolate_2d_cubic_gray_black ( double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getintensity_mindex2(), pow2(), and pow3().

Referenced by interpolate_2d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_double_color()

void interpolate_2d_double_color ( double * Ipixel,
double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin,
int cubic,
int black )

References interpolate_2d_cubic_color(), interpolate_2d_cubic_color_black(), interpolate_2d_linear_color(), and interpolate_2d_linear_color_black().

Referenced by transformvolume_color().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_double_gray()

double interpolate_2d_double_gray ( double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin,
int cubic,
int black )

References interpolate_2d_cubic_gray(), interpolate_2d_cubic_gray_black(), interpolate_2d_linear_gray(), and interpolate_2d_linear_gray_black().

Referenced by transformvolume_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_linear_color()

void interpolate_2d_linear_color ( double * Ipixel,
double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getcolor_mindex2().

Referenced by interpolate_2d_double_color().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_linear_color_black()

void interpolate_2d_linear_color_black ( double * Ipixel,
double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getcolor_mindex2().

Referenced by interpolate_2d_double_color().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_linear_gray()

double interpolate_2d_linear_gray ( double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getintensity_mindex2().

Referenced by interpolate_2d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_2d_linear_gray_black()

double interpolate_2d_linear_gray_black ( double Tlocalx,
double Tlocaly,
int * Isize,
double * Iin )

References getintensity_mindex2().

Referenced by interpolate_2d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_cubic()

double interpolate_3d_cubic ( double Tlocalx,
double Tlocaly,
double Tlocalz,
int * Isize,
double * Iin )

References getcolor_mindex3(), pow2(), and pow3().

Referenced by interpolate_3d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_cubic_black()

double interpolate_3d_cubic_black ( double Tlocalx,
double Tlocaly,
double Tlocalz,
int * Isize,
double * Iin )

References getcolor_mindex3(), pow2(), and pow3().

Referenced by interpolate_3d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_double_gray()

double interpolate_3d_double_gray ( double Tlocalx,
double Tlocaly,
double Tlocalz,
int * Isize,
double * Iin,
int cubic,
int black )

◆ interpolate_3d_float_cubic()

float interpolate_3d_float_cubic ( float Tlocalx,
float Tlocaly,
float Tlocalz,
int * Isize,
float * Iin )

References floorfloat(), getcolor_mindex3_float(), pow2_float(), and pow3_float().

Referenced by interpolate_3d_float_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_float_cubic_black()

float interpolate_3d_float_cubic_black ( float Tlocalx,
float Tlocaly,
float Tlocalz,
int * Isize,
float * Iin )

References floorfloat(), getcolor_mindex3_float(), pow2_float(), and pow3_float().

Referenced by interpolate_3d_float_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_float_gray()

float interpolate_3d_float_gray ( float Tlocalx,
float Tlocaly,
float Tlocalz,
int * Isize,
float * Iin,
int cubic,
int black )

◆ interpolate_3d_float_linear()

float interpolate_3d_float_linear ( float Tlocalx,
float Tlocaly,
float Tlocalz,
int * Isize,
float * Iin )

References floorfloat(), and getcolor_mindex3_float().

Referenced by interpolate_3d_float_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_float_linear_black()

float interpolate_3d_float_linear_black ( float Tlocalx,
float Tlocaly,
float Tlocalz,
int * Isize,
float * Iin )

References floorfloat(), and getcolor_mindex3_float().

Referenced by interpolate_3d_float_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_linear()

double interpolate_3d_linear ( double Tlocalx,
double Tlocaly,
double Tlocalz,
int * Isize,
double * Iin )

References getcolor_mindex3().

Referenced by interpolate_3d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate_3d_linear_black()

double interpolate_3d_linear_black ( double Tlocalx,
double Tlocaly,
double Tlocalz,
int * Isize,
double * Iin )

References getcolor_mindex3().

Referenced by interpolate_3d_double_gray().

Here is the call graph for this function:
Here is the caller graph for this function: