I have four .raw 3D images (resolution 200*200*200). All of these images has same characteristics (same dims, same voxel spacing etc.), how can I do this in matlab?

 Accepted Answer

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)

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Asked:

on 25 Dec 2018

Answered:

on 25 Dec 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!