#include "nrrd.h"
#include "privateNrrd.h"
#define FLAG_MAX 19 |
#define PER_AXIS_ERROR_CHECK |
Value:
if (!rsmc) { \ sprintf(err, "%s: got NULL pointer", me); \ biffAdd(NRRD, err); return 1; \ } \ if (!rsmc->nin) { \ sprintf(err, "%s: haven't set input nrrd yet", me); \ biffAdd(NRRD, err); return 1; \ } \ if (!( axIdx < rsmc->nin->dim )) { \ sprintf(err, "%s: axis %u >= nin->dim %u", me, axIdx, rsmc->nin->dim); \ biffAdd(NRRD, err); return 1; \ }
anonymous enum |
int _nrrdResampleCore | ( | NrrdResampleContext * | rsmc, | |
Nrrd * | nout, | |||
int | typeOut, | |||
int | doRound, | |||
nrrdResample_t(*)(const void *, size_t) | lup, | |||
nrrdResample_t(*)(nrrdResample_t) | clamp, | |||
nrrdResample_t(*)(void *, size_t, nrrdResample_t) | ins | |||
) |
int _nrrdResampleInputCentersUpdate | ( | NrrdResampleContext * | rsmc | ) |
int _nrrdResampleInputDimensionUpdate | ( | NrrdResampleContext * | rsmc | ) |
int _nrrdResampleInputSizesUpdate | ( | NrrdResampleContext * | rsmc | ) |
int _nrrdResampleLineAllocateUpdate | ( | NrrdResampleContext * | rsmc | ) |
int _nrrdResampleLineFillUpdate | ( | NrrdResampleContext * | rsmc | ) |
void _nrrdResampleMinMaxFull | ( | double * | minP, | |
double * | maxP, | |||
int | center, | |||
size_t | size | |||
) |
int _nrrdResampleOutputUpdate | ( | NrrdResampleContext * | rsmc, | |
Nrrd * | nout, | |||
char * | func | |||
) |
int _nrrdResamplePermutationUpdate | ( | NrrdResampleContext * | rsmc | ) |
int _nrrdResampleTrivial | ( | NrrdResampleContext * | rsmc, | |
Nrrd * | nout, | |||
int | typeOut, | |||
int | doRound, | |||
nrrdResample_t(*)(const void *, size_t) | lup, | |||
nrrdResample_t(*)(nrrdResample_t) | clamp, | |||
nrrdResample_t(*)(void *, size_t, nrrdResample_t) | ins | |||
) |
int _nrrdResampleVectorAllocateUpdate | ( | NrrdResampleContext * | rsmc | ) |
int _nrrdResampleVectorFillUpdate | ( | NrrdResampleContext * | rsmc | ) |
int nrrdResampleBoundarySet | ( | NrrdResampleContext * | rsmc, | |
int | boundary | |||
) |
int nrrdResampleClampSet | ( | NrrdResampleContext * | rsmc, | |
int | clamp | |||
) |
void nrrdResampleContextInit | ( | NrrdResampleContext * | rsmc | ) |
NrrdResampleContext* nrrdResampleContextNew | ( | ) |
NrrdResampleContext* nrrdResampleContextNix | ( | NrrdResampleContext * | rsmc | ) |
int nrrdResampleDefaultCenterSet | ( | NrrdResampleContext * | rsmc, | |
int | center | |||
) |
int nrrdResampleExecute | ( | NrrdResampleContext * | rsmc, | |
Nrrd * | nout | |||
) |
int nrrdResampleKernelSet | ( | NrrdResampleContext * | rsmc, | |
unsigned int | axIdx, | |||
const NrrdKernel * | kernel, | |||
double | kparm[NRRD_KERNEL_PARMS_NUM] | |||
) |
int nrrdResampleNrrdSet | ( | NrrdResampleContext * | rsmc, | |
const Nrrd * | nin | |||
) |
int nrrdResamplePadValueSet | ( | NrrdResampleContext * | rsmc, | |
double | padValue | |||
) |
int nrrdResampleRangeFullSet | ( | NrrdResampleContext * | rsmc, | |
unsigned int | axIdx | |||
) |
int nrrdResampleRangeSet | ( | NrrdResampleContext * | rsmc, | |
unsigned int | axIdx, | |||
double | min, | |||
double | max | |||
) |
int nrrdResampleRenormalizeSet | ( | NrrdResampleContext * | rsmc, | |
int | renormalize | |||
) |
int nrrdResampleRoundSet | ( | NrrdResampleContext * | rsmc, | |
int | round | |||
) |
int nrrdResampleSamplesSet | ( | NrrdResampleContext * | rsmc, | |
unsigned int | axIdx, | |||
size_t | samples | |||
) |
int nrrdResampleTypeOutSet | ( | NrrdResampleContext * | rsmc, | |
int | type | |||
) |