code: def flip_3d(img, axis):
      """
      axis: int
            0 - flip along Depth  (z-axis)
            1 - flip along Height (y-axis)
            2 - flip along Width  (x-axis)
      """
      img = np.flip(img, axis)
      return img
  
imports: from typing import List, Tuple, Union, Callable
  import collections
  import numbers
  import random
  import numpy
  import scipy
  import scipy.ndimage
  import SimpleITK
  from scipy.ndimage.filters import gaussian_filter, gaussian_gradient_magnitude
  from skimage.transform import resize
label_desc: Use image node_id 3 for calling a global function with example usage: flip_3d(img, axis) and returns: img