#include "plmbase_config.h"
#include "itkBSplineDeformableTransform.h"
#include "xform.h"
Go to the source code of this file.
|
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.
|
|
◆ plm_warp()
The plm_warp function creates a new image from an input image and a transform. It also, optionally, creates a vector field.
- Parameters
-
im_warped | Output: Output image (optional) |
vf | Output: Output vf (optional) |
xf_in | Input: Input image warped by this xform |
pih | Input: Size of output image |
im_in | Input: Input image |
default_val | Input: Value for pixels without match |
resample_linear_xf | Input: Force resample of image for linear transforms |
use_itk | Input: Force use of itk (1) or not (0) |
interp_lin | Input: Trilinear (1) or nn (0) |