src/nrrd/filt.c File Reference

#include "nrrd.h"
#include "privateNrrd.h"

Include dependency graph for filt.c:


Defines

#define INDEX(nin, range, lup, idxIn, bins, val)

Functions

int _nrrdCM_median (const float *hist, float half)
int _nrrdCM_mode (const float *hist, int bins)
void _nrrdCM_printhist (const float *hist, int bins, const char *desc)
float * _nrrdCM_wtAlloc (int radius, float wght)
void _nrrdCheapMedian1D (Nrrd *nout, const Nrrd *nin, const NrrdRange *range, int radius, float wght, int bins, int mode, float *hist)
void _nrrdCheapMedian2D (Nrrd *nout, const Nrrd *nin, const NrrdRange *range, int radius, float wght, int bins, int mode, float *hist)
void _nrrdCheapMedian3D (Nrrd *nout, const Nrrd *nin, const NrrdRange *range, int radius, float wght, int bins, int mode, float *hist)
int nrrdCheapMedian (Nrrd *_nout, const Nrrd *_nin, int pad, int mode, unsigned int radius, float wght, unsigned int bins)
static double intx (double x0, double y0, double x1, double y1, double spc)
static void distanceL2Sqrd1D (double *dd, const double *ff, double *zz, unsigned int *vv, size_t len, double spc)
static int distanceL2Sqrd (Nrrd *ndist, double *spcMean)
int nrrdDistanceL2 (Nrrd *nout, const Nrrd *nin, int typeOut, const int *axisDo, double thresh, int insideHigher)
int nrrdDistanceL2Signed (Nrrd *nout, const Nrrd *nin, int typeOut, const int *axisDo, double thresh, int insideHigher)

Define Documentation

#define INDEX ( nin,
range,
lup,
idxIn,
bins,
val   ) 

Value:

( \
  val = (lup)((nin)->data, (idxIn)), \
  airIndex((range)->min, (val), (range)->max, bins) \
)


Function Documentation

void _nrrdCheapMedian1D ( Nrrd nout,
const Nrrd nin,
const NrrdRange range,
int  radius,
float  wght,
int  bins,
int  mode,
float *  hist 
)

void _nrrdCheapMedian2D ( Nrrd nout,
const Nrrd nin,
const NrrdRange range,
int  radius,
float  wght,
int  bins,
int  mode,
float *  hist 
)

void _nrrdCheapMedian3D ( Nrrd nout,
const Nrrd nin,
const NrrdRange range,
int  radius,
float  wght,
int  bins,
int  mode,
float *  hist 
)

int _nrrdCM_median ( const float *  hist,
float  half 
)

int _nrrdCM_mode ( const float *  hist,
int  bins 
)

void _nrrdCM_printhist ( const float *  hist,
int  bins,
const char *  desc 
)

float* _nrrdCM_wtAlloc ( int  radius,
float  wght 
)

static int distanceL2Sqrd ( Nrrd ndist,
double *  spcMean 
) [static]

static void distanceL2Sqrd1D ( double *  dd,
const double *  ff,
double *  zz,
unsigned int *  vv,
size_t  len,
double  spc 
) [static]

static double intx ( double  x0,
double  y0,
double  x1,
double  y1,
double  spc 
) [static]

int nrrdCheapMedian ( Nrrd _nout,
const Nrrd _nin,
int  pad,
int  mode,
unsigned int  radius,
float  wght,
unsigned int  bins 
)

int nrrdDistanceL2 ( Nrrd nout,
const Nrrd nin,
int  typeOut,
const int *  axisDo,
double  thresh,
int  insideHigher 
)

int nrrdDistanceL2Signed ( Nrrd nout,
const Nrrd nin,
int  typeOut,
const int *  axisDo,
double  thresh,
int  insideHigher 
)


Generated on Thu Jan 1 01:06:57 2009 for Teem by  doxygen 1.5.6