make a 2D image as a 3D image

6 Ansichten (letzte 30 Tage)
talayeh ghodsi
talayeh ghodsi am 29 Mai 2019
Kommentiert: talayeh ghodsi am 29 Mai 2019
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by