Skip to content

example code to use CT data and VTK for 3D reconstruction

Notifications You must be signed in to change notification settings

ardeal/VTK_3D_Reconstruction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

3D reconstruction based on MarchingCubes of VTK

Environment

  • Visual studio 2015 or later version
  • VTK 9.0.1, or other version

depends libs of VTK

vtkIOLegacy-9.0d.lib
vtkIOExport-9.0d.lib
vtkCommonCore-9.0d.lib
vtkRenderingVolumeOpenGL2-9.0d.lib
vtkRenderingVolume-9.0d.lib
vtkCommonColor-9.0d.lib
vtkRenderingVolume-9.0d.lib
vtkInteractionWidgets-9.0d.lib
vtkFiltersGeneral-9.0d.lib
vtkCommonTransforms-9.0d.lib
vtkRenderingFreeType-9.0d.lib
vtkCommonDataModel-9.0d.lib
vtkInteractionStyle-9.0d.lib
vtkFiltersCore-9.0d.lib
vtkIOImage-9.0d.lib
vtkDICOMParser-9.0d.lib
vtkCommonExecutionModel-9.0d.lib
vtkCommonCore-9.0d.lib
vtkFiltersModeling-9.0d.lib
vtkDICOMParser-9.0d.lib
vtkRenderingCore-9.0d.lib

Misc

  • The example uses MarchingCubes for 3D reconstuction.
  • Be sure to set build INSTALL when you build VTK.
  • Be sure to set CMAKE_INSTALL_PREFIX on cmake to make sure all headers and libs could be collected to the set folder.
  • If you 3D figure doesn't look good, try to change the parameter 100 on line 62 to some other value.
skinExtractor->SetValue(0, 100);

Releases

No releases published

Packages

No packages published

Languages