How to add .raw images?

1 次查看(过去 30 天)
blues
blues 2018-12-25
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?

采纳的回答

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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by