marcomusy / vedo

A python module for scientific analysis of 3D data based on VTK and Numpy
https://vedo.embl.es
MIT License
1.98k stars 257 forks source link

Want to use vedo to display and reconstruct 3D CT images #1136

Open hanjiahe1999 opened 3 weeks ago

hanjiahe1999 commented 3 weeks ago

I am an active beginner in vedo and would like to use vedo to display and reconstruct 3D CT images. I saw a demo on the official website about the head, 20240606-234339

I have a question about how to make a vti file like this. My image is a JPG.

Could you give me some advice, I would be grateful !!!

marcomusy commented 3 weeks ago

Hi, a JPG image is a 2D object. What you need instead is a 3D image (a vedo.Volume()). A 3D image can be seen as a set of 2D slices one on top of the other.

hanjiahe1999 commented 3 weeks ago

Yes, I have a set of CT slices (JPG images), which are converted into 3D images. Is there a special format for vti?

hanjiahe1999 commented 3 weeks ago

I completed the rebuild but there is one small problem,When I zoom in, could I make the edges of the pixels disappear? 20240607-223312

marcomusy commented 2 weeks ago

Sorry I missed this issue! Have you tried .linewidth(0) ?