Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CT slice #23

Open
Anjinpeng opened this issue Dec 26, 2024 · 1 comment
Open

CT slice #23

Anjinpeng opened this issue Dec 26, 2024 · 1 comment

Comments

@Anjinpeng
Copy link

Tanks for your great works in CT . I have trouble in make CT slice image ,for example in article E Morevisualization results. I write the code but the result is bad. ma code is as follow , could you share the slice code of yours.

image

@Ruyi-Zha
Copy link
Owner

Hi, we typically use matplotlib.pyplot to visualize slice images. I can't find the exact code at the moment, but it should be simple. I didn't notice any obvious errors in your code at first glance. Personally, I wouldn't multiply the volume by 255. Instead, I recommend setting the value range using vmin and vmax in plt.imshow(). You might find this script helpful for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants