Building bulk data in MATLAB

I work in Matlab and I have a 384x512x160 3D matrix that consists of 384x512 fragments.

How can I build the data?

+5
source share
1 answer

You really have Volumetric data .

I assume that you have a C value for each X, Y, Z. And actually it depends on what type of data you have. You will need to provide more information for a specific answer.

In general, take a look at volumetric data visualization techniques, but there is more than one way to do this. After that, I will leave you some examples that you can try.


Slideomatic

One option is to use Sliceomatic from FE:

enter image description here


Slicing

If you have medical data (or data over a wide range), you can use the typical approach to build only some fragments. You can do this with subplot() and imshow(squeeze(:,:, slice)) or just combine all the fragments together as img=[squeeze(:,:, slice1)) squeeze(:,:, slice2)); squeeze(:,:, slice3)) squeeze(:,:, slice4))] img=[squeeze(:,:, slice1)) squeeze(:,:, slice2)); squeeze(:,:, slice3)) squeeze(:,:, slice4))] , for example.

enter image description here


Isosurfaces

You can also just build some equipotential surfaces of your data. You can create some surfaces and build them using isosurface :

enter image description here


Vold3D for indexed images

Or, if your image is an indexed image, you can use vol3D

enter image description here


Pcolor3

A useful tool if you have “smooth” 3D data, pcolor3 , because it fills the 3D volume with translucent surfaces that give a nice visual three-dimensional perception of “colored clouds”.

enter image description here


Disclaimer: I have nothing to do with any of the toolboxes presented here, and I chose them in my own opinion. There are probably more tools for this, and if you think you want to add some, edit this question freely.

+20
source

Source: https://habr.com/ru/post/1209923/


All Articles