Pixel-wise maximum between a set of images

I would like to find the maximum of a set of images at certain coordinates. In particular, given 2 images A and B, I would like to get an image C in this way:

C[0, 0] = max(A[0, 0], B[0, 0])
C[0, 1] = max(A[0, 1], B[0, 1])
C[0, 2] = max(A[0, 0], B[0, 2])
...
C[420,420] = max(A[420, 420], B[420, 420])

Is there a VisionWorks function that can do something like this?

Thanks in advance.