class_docstr: Input/Output Processor which processes the input data with the input
  processor and pipes everything into the given output processor.
  
  All Processors defined in the input chain are sequentially called with the
  'data' argument only. The output Processor is the only one ever called with
  two arguments ('data', 'output').
  
  Parameters
  ----------
  in_processor : :class:`Processor`, function, tuple or list
      Input processor. Can be a :class:`Processor` (or subclass thereof
      like :class:`SequentialProcessor` or :class:`ParallelProcessor`), a
      function accepting a single argument ('data'). If a tuple or list
      is given, it is wrapped as a :class:`SequentialProcessor`.
  out_processor : :class:`OutputProcessor`, function, tuple or list
      OutputProcessor or function accepting two arguments ('data', 'output').
      If a tuple or list is given, it is wrapped in an :class:`IOProcessor`
      itself with the last element regarded as the `out_processor` and all
      others as `in_processor`.
class_docstr_tok: ["Input\/Output","Processor","which","processes","the","input","data","with","the","input","processor","and","pipes","everything","into","the","given","output","processor",".","All","Processors","defined","in","the","input","chain","are","sequentially","called","with","the","'data","'","argument","only",".","The","output","Processor","is","the","only","one","ever","called","with","two","arguments","(","'data","'",",","'output","'",")",".","Parameters","--","--","--","--","--","in_processor",":",":","class",":","`","Processor","`",",","function",",","tuple","or","list","Input","processor",".","Can","be","a",":","class",":","`","Processor","`","(","or","subclass","thereof","like",":","class",":","`","SequentialProcessor","`","or",":","class",":","`","ParallelProcessor","`",")",",","a","function","accepting","a","single","argument","(","'data","'",")",".","If","a","tuple","or","list","is","given",",","it","is","wrapped","as","a",":","class",":","`","SequentialProcessor","`",".","out_processor",":",":","class",":","`","OutputProcessor","`",",","function",",","tuple","or","list","OutputProcessor","or","function","accepting","two","arguments","(","'data","'",",","'output","'",")",".","If","a","tuple","or","list","is","given",",","it","is","wrapped","in","an",":","class",":","`","IOProcessor","`","itself","with","the","last","element","regarded","as","the","`","out_processor","`","and","all","others","as","`","in_processor","`","."]
docstr: Processes the data with the input processor and pipe everything into
  the output processor, which also pipes it to `output`.
  
  Parameters
  ----------
  data : depends on the input processors
      Data to be processed.
  output: str or file handle
      Output file (handle).
  kwargs : dict, optional
      Keyword arguments for processing.
  
  Returns
  -------
  depends on the output processors
      Processed data.
code: def process(self, data, output=None, **kwargs):
      """
      Processes the data with the input processor and pipe everything into
      the output processor, which also pipes it to `output`.
  
      Parameters
      ----------
      data : depends on the input processors
          Data to be processed.
      output: str or file handle
          Output file (handle).
      kwargs : dict, optional
          Keyword arguments for processing.
  
      Returns
      -------
      depends on the output processors
          Processed data.
  
      """
      # process the data by the input processor
      data = _process((self.in_processor, data, kwargs))
      # process the data by the output processor and return it
      return _process((self.out_processor, data, output, kwargs))
  
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 3 for calling the IOProcessor obj's underlying member method code with example usage: obj.process(data, output) and returns: _process