code: def decrop_image(cropped_image, full_image):
      
      inpixeltype = 'float'
      if cropped_image.pixeltype != 'float':
          inpixeltype= cropped_image.pixeltype
          cropped_image = cropped_image.clone('float')
      if full_image.pixeltype != 'float':
          full_image = full_image.clone('float')
      
      libfn = utils.get_lib_fn('cropImageF%i' % cropped_image.dimension)
      itkimage = libfn(cropped_image.pointer, full_image.pointer, 1, 1, [], [])
      ants_image = iio.ANTsImage(pixeltype='float', dimension=cropped_image.dimension,
                          components=cropped_image.components, pointer=itkimage)
      if inpixeltype != 'float':
          ants_image = ants_image.clone(inpixeltype)
  
      return ants_image
docs: The inverse function for `ants.crop_image`
  
      ANTsR function: `decropImage`
      
      Arguments
      ---------
      cropped_image : ANTsImage
          cropped image
  
      full_image : ANTsImage
          image in which the cropped image will be put back
  
      Returns
      -------
      ANTsImage
  
      Example
      -------
      >>> import ants
      >>> fi = ants.image_read(ants.get_ants_data('r16'))
      >>> mask = ants.get_mask(fi)
      >>> cropped = ants.crop_image(fi, mask, 1)
      >>> cropped = ants.smooth_image(cropped, 1)
      >>> decropped = ants.decrop_image(cropped, fi)