Adds max and median for ABG, CBCR, and CCCM