class_docstr: Interface for executable reg_f3d from NiftyReg platform.
  
  Fast Free-Form Deformation (F3D) algorithm for non-rigid registration.
  Initially based on Modat et al., "Fast Free-Form Deformation using
  graphics processing units", CMPB, 2010
  
  `Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
  
  Examples
  --------
  >>> from nipype.interfaces import niftyreg
  >>> node = niftyreg.RegF3D()
  >>> node.inputs.ref_file = 'im1.nii'
  >>> node.inputs.flo_file = 'im2.nii'
  >>> node.inputs.rmask_file = 'mask.nii'
  >>> node.inputs.omp_core_val = 4
  >>> node.cmdline
  'reg_f3d -cpp im2_cpp.nii.gz -flo im2.nii -omp 4 -ref im1.nii -res im2_res.nii.gz -rmask mask.nii'
class_docstr_tok: ["Interface","for","executable","reg_f3d","from","NiftyReg","platform",".","Fast","Free-Form","Deformation","(","F3D",")","algorithm","for","non-rigid","registration",".","Initially","based","on","Modat","et","al.",",","``","Fast","Free-Form","Deformation","using","graphics","processing","units","''",",","CMPB",",","2010","`","Source","code","<","https",":","\/\/cmiclab.cs.ucl.ac.uk\/mmodat\/niftyreg",">","`","_","Examples","--","--","--","--",">",">",">","from","nipype.interfaces","import","niftyreg",">",">",">","node","=","niftyreg.RegF3D","(",")",">",">",">","node.inputs.ref_file","=","'im1.nii'",">",">",">","node.inputs.flo_file","=","'im2.nii'",">",">",">","node.inputs.rmask_file","=","'mask.nii'",">",">",">","node.inputs.omp_core_val","=","4",">",">",">","node.cmdline","'reg_f3d","-cpp","im2_cpp.nii.gz","-flo","im2.nii","-omp","4","-ref","im1.nii","-res","im2_res.nii.gz","-rmask","mask.nii","'"]
code: def _remove_extension(in_file):
      dn, bn, _ = split_filename(in_file)
      return os.path.join(dn, bn)
  
file_path: nipype/nipype/interfaces/niftyreg/reg.py
imports: import os
  from ..base import TraitedSpec, File, traits, isdefined
  from .base import get_custom_path, NiftyRegCommand, NiftyRegCommandInputSpec
  from ...utils.filemanip import split_filename
label_desc: Use image node_id 1 for calling the RegF3D obj's underlying member method code with example usage: obj._remove_extension(in_file) and returns: os