original_docstring: Performs a histogram equalization contrast enhancment on an image.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          num_tones -- Number of tones in the output image. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Performs a histogram equalization contrast enhancment on an image.
  Keyword arguments.
  
  - Input raster file.
  output -- Output raster file.
  num_tones -- Number of tones in the output image.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Performs a histogram equalization contrast enhancment on an image . Keyword arguments . - Input raster file . output -- Output raster file . num_tones -- Number of tones in the output image . callback -- Custom functon for handling tool text outputs .
code: def histogram_equalization(self, i, output, num_tones=256, callback=default_callback):
          """Performs a histogram equalization contrast enhancment on an image.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          num_tones -- Number of tones in the output image. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--input='{}'".format(i))
          args.append("--output='{}'".format(output))
          args.append("--num_tones={}".format(num_tones))
          return self.run_tool('histogram_equalization', args, callback)
code_tokens: def histogram_equalization ( self , i , output , num_tones = 256 , callback = default_callback ) : args = [ ] args . append ( "--input='{}'" . format ( i ) ) args . append ( "--output='{}'" . format ( output ) ) args . append ( "--num_tones={}" . format ( num_tones ) ) return self . run_tool ( 'histogram_equalization' , args , callback )
short_docstring: Performs a histogram equalization contrast enhancment on an image.
short_docstring_tokens: Performs a histogram equalization contrast enhancment on an image .
comment: """Performs a histogram equalization contrast enhancment on an image.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          num_tones -- Number of tones in the output image. 
          callback -- Custom functon for handling tool text outputs.
          """