class_docstr: Class that performs the morphological operations needed to get notably
  connected component. To be used in the evaluation
docstr: Creates the border for a 3D image
  :return:
docstr_tok: ["Creates","the","border","for","a","3D","image",":","return",":"]
code: def border_map(self):
      """
      Creates the border for a 3D image
      :return:
      """
      west = ndimage.shift(self.binary_map, [-1, 0, 0], order=0)
      east = ndimage.shift(self.binary_map, [1, 0, 0], order=0)
      north = ndimage.shift(self.binary_map, [0, 1, 0], order=0)
      south = ndimage.shift(self.binary_map, [0, -1, 0], order=0)
      top = ndimage.shift(self.binary_map, [0, 0, 1], order=0)
      bottom = ndimage.shift(self.binary_map, [0, 0, -1], order=0)
      cumulative = west + east + north + south + top + bottom
      border = ((cumulative < 6) * self.binary_map) == 1
      return border
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import datetime
  import os
  import re
  from functools import partial
  import numpy
  import tensorflow
  from scipy import ndimage
  from six import string_types
label_desc: Use image node_id 2 for calling the MorphologyOps obj's underlying member method code with example usage: obj.border_map() and returns: border