Borrar filtros
Borrar filtros

Converting from 3D to 2D image

5 visualizaciones (últimos 30 días)
Mohamed Moawed
Mohamed Moawed el 5 de Abr. de 2020
Comentada: Mohamed Moawed el 6 de Abr. de 2020
Dear All,
I have a 3D CT image with a dimension 512x512x301 int16 and I need to convert it to 2D (X,Z) at Y =256
How can I do this?
Did reshape function can do this?
If yes, how can I do this?
Thanks

Respuestas (1)

Ameer Hamza
Ameer Hamza el 5 de Abr. de 2020
Editada: Ameer Hamza el 5 de Abr. de 2020
If you need a slice of 3D matrix, than try this
out = CTimages(:,256,:)
It will give you a 2D slice at 256 index of 2nd dimension (columns).
  6 comentarios
Ameer Hamza
Ameer Hamza el 5 de Abr. de 2020
What command did you use to display the color image. If possible, please share a sample dataset, so that i can easily suggest a solution.
Mohamed Moawed
Mohamed Moawed el 6 de Abr. de 2020
this is a sample of the dataset

Iniciar sesión para comentar.

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by