class_docstr: A class for binary morphological operators
class_docstr_tok: ["A","class","for","binary","morphological","operators"]
docstr: Get a list of coordinates matching the morphological operation on
  an image.
  
  Returns a list of tuples of (x,y) coordinates
  of all matching pixels. See :ref:`coordinate-system`.
docstr_tok: ["Get","a","list","of","coordinates","matching","the","morphological","operation","on","an","image",".","Returns","a","list","of","tuples","of","(","x",",","y",")","coordinates","of","all","matching","pixels",".","See",":","ref",":","`","coordinate-system","`","."]
code: def match(self, image):
      """Get a list of coordinates matching the morphological operation on
      an image.
  
      Returns a list of tuples of (x,y) coordinates
      of all matching pixels. See :ref:`coordinate-system`."""
      if self.lut is None:
          msg = "No operator loaded"
          raise Exception(msg)
  
      if image.mode != "L":
          msg = "Image mode must be L"
          raise ValueError(msg)
      return _imagingmorph.match(bytes(self.lut), image.im.id)
  
file_path: catboost/contrib/python/Pillow/py3/PIL/ImageMorph.py
imports: import re
  from .None import Image, _imagingmorph
label_desc: Use image node_id 3 for calling the MorphOp obj's underlying member method code with example usage: obj.match(image) and returns: _imagingmorph