docs: def get_operation(cls, morph_type):
          """ Maps morphological operation type to function
  
          :param morph_type: Morphological operation type
          :type morph_type: MorphologicalOperations
          :return: function
          """
          return {
              cls.OPENING: skimage.morphology.opening,
              cls.CLOSING: skimage.morphology.closing,
              cls.DILATION: skimage.morphology.dilation,
              cls.EROSION: skimage.morphology.erosion,
              cls.MEDIAN: skimage.filters.rank.median
          }[morph_type]