- 博客(3)
- 收藏
- 关注
原创 Simulation-to-Real domain adaptation with teacher-student learning for endoscopic instrument segment
surgical data science
2022-11-10 10:27:04
186
1
原创 python版的vtk怎么自定义style
直接上代码from vtkmodules.all import *class MyRubberBand(vtkInteractorStyleRubberBand2D): def __init__(self): self.startPosition = [0,0,0] self.endPosition = [0,0,0] self.viewer = None self.AddObserver("LeftButtonPressE
2021-12-29 10:35:15
1824
原创 3dslicer打开.vtk文件失败
最近用vtk搞开发,需要有保存曲面的功能,于是就用使用了vtkPolyDataWritervtkWriter.SetFileName('files/data{}.vtk'.format(idx))vtkWriter.SetInputConnection(polydata.GetOutputPort())vtkWriter.Write()但是保存后的结果3dslicer无法打开细看发现原来是版本的问题,我使用的vtk是最新版的,然后它的vtkPolyDataWriter保存.vtk文件是5.
2021-12-17 20:39:06
670
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人