make a 2D image as a 3D image

6 次查看(过去 30 天)
Hello every body. Is there any solution to convert a single 2D image to 3D image with z=0 ? I need to convert my 2D image to 3D image to compare it with a 3D volume.
Best Regards

采纳的回答

Matt J
Matt J 2019-5-29
You could replicate the 2D image to form multiple slices
image3D = repmat(image2D,1,1,n);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by