class_docstr: Abstract base class for processing data.
class_docstr_tok: ["Abstract","base","class","for","processing","data","."]
docstr: Instantiate a new Processor from a file.
  
  This method un-pickles a saved Processor object. Subclasses should
  overwrite this method with a better performing solution if speed is an
  issue.
  
  Parameters
  ----------
  infile : str or file handle
      Pickled processor.
  
  Returns
  -------
  :class:`Processor` instance
      Processor.
code: def load(cls, infile):
      """
      Instantiate a new Processor from a file.
  
      This method un-pickles a saved Processor object. Subclasses should
      overwrite this method with a better performing solution if speed is an
      issue.
  
      Parameters
      ----------
      infile : str or file handle
          Pickled processor.
  
      Returns
      -------
      :class:`Processor` instance
          Processor.
  
      """
      import pickle
      from .io import open_file
  
      # instantiate a new Processor and return it
      with open_file(infile, "rb") as f:
          # Python 2 and 3 behave differently
          try:
              # Python 3
              obj = pickle.load(f, encoding="latin1")
          except TypeError:
              # Python 2 doesn't have/need the encoding
              obj = pickle.load(f)
      return obj
  
imports: from __future__ import absolute_import, division, print_function
  import argparse
  import itertools
  import multiprocessing
  import os
  import sys
  from collections.abc import MutableSequence
  import numpy
  from .utils import integer_types
label_desc: Use image node_id 1 for calling the Processor obj's underlying member method code with example usage: obj.load(cls, infile) and returns: obj