How to add .raw images?

5 views (last 30 days)
blues
blues on 25 Dec 2018
Answered: Image Analyst on 25 Dec 2018
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

Image Analyst
Image Analyst on 25 Dec 2018
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)

Community Treasure Hunt

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

Start Hunting!