Max (every pixel) compares two images of the same size and writes, at each pixel, the larger of the two values. Min (every pixel) keeps the smaller. Both are statistical operations in the Basic Operations Module. Each pixel is decided on its own: what happens at one position does not affect another.