This tool automatically stretches the contrast for all three channels. For each channel in the image, the tool finds the maximum and minimum values and stretches the histogram to the full contrast range.
Further histogram information can be found on the Histogram help page.
A more intelligent version of this filter is the Autostretch HSV filter.