plastimatch
Loading...
Searching...
No Matches
plm_warp.h File Reference
#include "plmbase_config.h"
#include "itkBSplineDeformableTransform.h"
#include "xform.h"

Go to the source code of this file.

Functions

void plm_warp (Plm_image::Pointer &im_warped, DeformationFieldType::Pointer *vf, const Xform::Pointer &xf_in, Plm_image_header *pih, const Plm_image::Pointer &im_in, float default_val, bool resample_linear_xf, bool use_itk, bool interp_lin)
 The plm_warp function creates a new image from an input image and a transform. It also, optionally, creates a vector field.
 

Function Documentation

◆ plm_warp()

void plm_warp ( Plm_image::Pointer & im_warped,
DeformationFieldType::Pointer * vf,
const Xform::Pointer & xf_in,
Plm_image_header * pih,
const Plm_image::Pointer & im_in,
float default_val,
bool resample_linear_xf,
bool use_itk,
bool interp_lin )

The plm_warp function creates a new image from an input image and a transform. It also, optionally, creates a vector field.

Parameters
im_warpedOutput: Output image (optional)
vfOutput: Output vf (optional)
xf_inInput: Input image warped by this xform
pihInput: Size of output image
im_inInput: Input image
default_valInput: Value for pixels without match
resample_linear_xfInput: Force resample of image for linear transforms
use_itkInput: Force use of itk (1) or not (0)
interp_linInput: Trilinear (1) or nn (0)