class_docstr: A class for binary morphological operators
class_docstr_tok: ["A","class","for","binary","morphological","operators"]
docstr: Save an operator to an mrl file
docstr_tok: ["Save","an","operator","to","an","mrl","file"]
code: def save_lut(self, filename):
      """Save an operator to an mrl file"""
      if self.lut is None:
          raise Exception("No operator loaded")
      with open(filename, "wb") as f:
          f.write(self.lut)
  
imports: from __future__ import print_function
  import re
  from .None import Image, _imagingmorph
label_desc: Use image node_id 6 for calling the MorphOp obj's underlying member method code with example usage: obj.save_lut(filename) without return types