class_docstr: A class for binary morphological operators
class_docstr_tok: ["A","class","for","binary","morphological","operators"]
docstr: Load an operator from an mrl file
docstr_tok: ["Load","an","operator","from","an","mrl","file"]
code: def load_lut(self, filename):
      """Load an operator from an mrl file"""
      with open(filename, "rb") as f:
          self.lut = bytearray(f.read())
  
      if len(self.lut) != LUT_SIZE:
          self.lut = None
          msg = "Wrong size operator file!"
          raise Exception(msg)
  
file_path: catboost/contrib/python/Pillow/py3/PIL/ImageMorph.py
imports: import re
  from .None import Image, _imagingmorph
label_desc: Use image node_id 5 for calling the MorphOp obj's underlying member method code with example usage: obj.load_lut(filename) without return types