Conversion_EqualHist

Using of command

Function equalizes the histogram of a grayscale image.Function normalizes the brightness and increases the contrast of the image. Equalize of histogram use following algorithm:
  1. Calculate the histogram H of source image.
  2. Normalize the histogram so that the sum of histogram bins is 255.
  3. Compute the integral of the histogram
  4. Transform the image using computes integral as a look-up table to the destination image

Commands parameters

Command has 2 parameters:
  1. Source picture: You need select source picture. You can select Picture_0 to Picture_19.
  2. Destination picture: You need select destination picture. Source and destination picture can be same. You can select Picture_0 to Picture_19.

Error codes

  1. Error code -11: Bad source picture position in picture array. Source picture is not in range 0-19. Check test program file if command has correct format.
  2. Error code -12: Bad destination picture position in picture array. Destination picture is not in range 0-19. Check test program file if command has correct format.
  3. Error code -13: Dimension source and destination image are not same. Width of source and destination image must be same.
  4. Error code -14: Source image must be single channel.
  5. Error code -15: Destination image must be single channel.
  6. Error code -100: OpenCV error. Explanation of this error will be displayed in result window.