SlicerOpenCV

From NAMIC Wiki
Jump to: navigation, search
Home < SlicerOpenCV

About This Page

This page provides information about integration of 3D Slicer and OpenCV. OpenCV is a library of programming functions for real time computer vision. Primary goal of 3D Slicer-OpenCV integration is to provide functionalities to import and process video images used in the medical field e.g. ultrasound and endoscopic video images in 3D Slicer.

How to build 3D Slicer with OpenCV library

The first step to use OpenCV functionalities in 3D Slicer is to build 3D Slicer with the OpenCV library. There are two ways to do it:

Using getbuildtests.tcl build script

getbuildtests.tcl build script has been used to build 3D Slicer and it has an option to build it with OpenCV. To activate this option, open Slicer3/slicer_variables.tcl and change the following line (around line 180)

 set ::USE_OPENCV "OFF"

to

 set ::USE_OPENCV "ON"

then, follow Build Instruction Page.

Support

This work is supported by [http://www.intelli-si.org/index_e.html Intelligent Surgical Instrument Project funded by New Energy and Industrial Technology Development Organization (NEDO), Ministry of Economy, Trade and Industry (METI), Japan.

Contact