ncigt-fil
Functions
Filtering Functions

Functions to apply spatial and temporal filters to k-space data. More...

Functions

void apodization (SCAN_INFO hdr, int Nx, float *fx, int Ny, float *fy, int Nz, float *fz, KCOORD *kline_o, KCOORD *kline_e, COMPLEX *data)
 
void apply_ramp (COMPLEX *data, short Nx, short Ny, short nph, short ncoils, float rampx, float rampy)
 
void fermi (short N, float trw, float *f)
 

Detailed Description

Functions to apply spatial and temporal filters to k-space data.

Function Documentation

void apodization ( SCAN_INFO  hdr,
int  Nx,
float *  fx,
int  Ny,
float *  fy,
int  Nz,
float *  fz,
KCOORD *  kline_o,
KCOORD *  kline_e,
COMPLEX *  data 
)

Apply an apodization filter, to reduce ringing.

Parameters
hdrscan information
NxNumber of points along kx.
fxFilter function along kx.
NyNumber of points along ky.
fyFilter function along ky.
NzNumber of points along kz.
fzFilter function along kz.
kline_oSampling function, odd time frames.
kline_eSampling function, even time frames.
datak-space matrix to filter
void apply_ramp ( COMPLEX *  data,
short  Nx,
short  Ny,
short  nph,
short  ncoils,
float  rampx,
float  rampy 
)

Apply a phase ramp to kspace data, to shift the image in the spatial domain.

Parameters
dataData to apply a phase ramp to.
NxSize in kx direction.
NySize in ky direction.
nphSize time direction.
ncoilsNumber of receiver coils.
rampxPhase increment from x pixel to next.
rampyPhase increment from y pixel to next.
void fermi ( short  N,
float  trw,
float *  f 
)

Generate a fermi filter.

Parameters
NNumber of points.
trwWidth of transition region where the filter passes from 1% to 99%, expressed as a fraction of the full bandwidth.