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

请问3维的数据怎么二维可视化呢 #9

Open
gdace829 opened this issue Dec 16, 2024 · 2 comments
Open

请问3维的数据怎么二维可视化呢 #9

gdace829 opened this issue Dec 16, 2024 · 2 comments

Comments

@gdace829
Copy link

No description provided.

@Jun-Jie-Shi
Copy link
Owner

@gdace829 您好,我的做法是先通过加载训练好的模型权重,对想要可视化的病例进行 3D volume 预测并保存为 .npy 文件,然后在 z 轴上截取 2D 预测结果利用 cv2 库进行 2D 可视化,从而寻找病灶分割效果明显的 2D 预测图。此外您也可以尝试将 3D 预测结果保存为 .nii 文件,利用如 itk-snap 等软件进行可视化,希望对您有所帮助。

@gdace829
Copy link
Author

@gdace829 您好,我的做法是先通过加载训练好的模型权重,对想要可视化的病例进行 3D volume 预测并保存为 .npy 文件,然后在 z 轴上截取 2D 预测结果利用 cv2 库进行 2D 可视化,从而寻找病灶分割效果明显的 2D 预测图。此外您也可以尝试将 3D 预测结果保存为 .nii 文件,利用如 itk-snap 等软件进行可视化,希望对您有所帮助。

感谢

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