class_docstr: Calculates distance between two volumes.
code: def _find_border(self, data):
      from scipy.ndimage.morphology import binary_erosion
  
      eroded = binary_erosion(data)
      border = np.logical_and(data, np.logical_not(eroded))
      return border
  
imports: import os
  import os.path
  import nibabel
  import numpy
  from ..None import config, logging
  from ..interfaces.base import SimpleInterface, BaseInterface, traits, TraitedSpec, File, InputMultiPath, BaseInterfaceInputSpec, isdefined
  from ..interfaces.nipy.base import NipyBaseInterface
label_desc: Use image node_id 1 for calling the Distance obj's underlying member method code with example usage: obj._find_border(data) and returns: border