vtkSmartPointer<vtkImageDilateErode3D> filter = vtkSmartPointer<vtkImageDilateErode3D>::New();
filter->SetInputData(lobe_mask_data);
filter->SetDilateValue(1);
filter->SetErodeValue(0);
filter->SetKernelSize(3, 3, 3);
filter->Update();
VTK膨胀一个值,腐蚀另一个值
最新推荐文章于 2024-10-04 12:44:22 发布