Try adding, just be sure to cast to double so as to not clip the values if they're uint8 or uint16:
sumImage = double(image1) + double(image2) + double(image3) + double(image4)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!