class_docstr: Class for processing tasks in a queue.
  
  Parameters
  ----------
  task_queue :
      Queue with tasks, i.e. tuples ('processor', 'infile', 'outfile')
  
  Notes
  -----
  Usually, multiple instances are created via :func:`process_batch`.
class_docstr_tok: ["Class","for","processing","tasks","in","a","queue",".","Parameters","--","--","--","--","--","task_queue",":","Queue","with","tasks",",","i.e",".","tuples","(","'processor","'",",","'infile","'",",","'outfile","'",")","Notes","--","--","-","Usually",",","multiple","instances","are","created","via",":","func",":","`","process_batch","`","."]
code: def __init__(self, task_queue):
      super(_ParallelProcess, self).__init__()
      self.task_queue = task_queue
  
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 to create a new _ParallelProcess object from inherited base classes: mp with example: obj = _ParallelProcess(task_queue)