Difference between revisions of "2016 Winter Project Week/Projects/SlicerOpenCVExtension"

From NAMIC Wiki
Jump to: navigation, search
(Created page with "__NOTOC__ <gallery> Image:PW-MIT2016.png|link=2016_Winter_Project_Week#Projects|Projects List <!-- Use the "Upload file" link on the left...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
==Key Investigators==
 
==Key Investigators==
<!-- Add a bulleted list of investigators and their institutions here -->
+
 
 +
* Nicole Aucoin (BWH)
 +
* Erich Bremmer (Stonybrook)
 +
* Andrey Fedorov (BWH)
  
 
==Project Description==
 
==Project Description==
 
{| class="wikitable"
 
{| class="wikitable"
 +
! style="text-align: left; width:27%" |  Objective
 +
! style="text-align: left; width:27%" |  Approach and Plan
 +
! style="text-align: left; width:27%" |  Progress and Next Steps
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
! style="text-align: left; width:27%" |       Objective
+
|
<!-- Add a bulleted list of key points -->
+
<!-- Objective bullet points -->
*  
+
* Add an extension to the Slicer extension repository that provides OpenCV as a library
 
+
|
! style="text-align: left; width:27%" |       Approach, Plan
 
 
<!-- Add a bulleted list of key points -->
 
<!-- Add a bulleted list of key points -->
*  
+
* Create CMake files to check out and build OpenCV as an external project
 
+
* Create CMake files to check out and build the ITK OpenCV bridge as an external project
! style="text-align: left; width:27%" |     Progress
+
* Provide examples on how to use OpenCV from Slicer
 +
|
 
<!-- Fill this out at the end of Project Week; describe what you did this week and what you plan to do next -->
 
<!-- Fill this out at the end of Project Week; describe what you did this week and what you plan to do next -->
*
+
* [https://github.com/naucoin/SlicerOpenCV SlicerOpenCV]
 
+
** CMake file created to build OpenCV
 +
** Enabling the ITK OpenCV Bridge:
 +
*** The Slicer version of ITK needed changes from this patch in order to be able to build with the module enabled: [https://github.com/InsightSoftwareConsortium/ITK/commit/412dd83a680cc024c12f971ec57f76881c7eab78 COMP: simplify ITKVideoBridgeOpenCV dependency]
 +
*** Building the bridge outside of the source referred to ITK mailing list posts:
 +
**** [http://itk-users.7.n7.nabble.com/Problems-building-ITK-Snap-outside-the-Insight-Applications-tree-td14733.html Building ITK SNAP outside of the application]
 +
**** New post: [http://public.kitware.com/pipermail/community/2015-December/010521.html Building BridgeOpenCV outside of ITK]
 +
*** Consulted with Jim on best practices for building ITK and linking to libs and include dirs
 +
*** Worked with JC to craft CMake files to build the bridge
 +
**** Pointed to relevant blog post: [http://www.kitware.com/blog/home/post/997 Build ITK Modules Outside the Main Repository]
 +
*** Matt McCormick proposed a patch to ITK to enable building the bridge outside of ITK: [http://review.source.kitware.com/#/c/20633/3 Allow ITKVideoBridgeOpenCV to be built externally.]
 +
*** Extension topic branch builds against the ITK trunk version of the bridge with Matt's patch, and loads into Slicer: [https://github.com/naucoin/SlicerOpenCV/tree/Enable-ITK-BridgeOpenCV Enable-ITK-BridgeOpenCV]
 +
*** To do:
 +
**** patch Slicer's branch of ITK
 +
**** set up dependency with the digital pathology module so that it uses this version of OpenCV
 
|}
 
|}
  
 
==Background and References==
 
==Background and References==
 
<!-- Use this space for information that may help people better understand your project, like links to papers, source code, or data -->
 
<!-- Use this space for information that may help people better understand your project, like links to papers, source code, or data -->
 +
 +
* Project begun to support [http://wiki.na-mic.org/Wiki/index.php/2016_Winter_Project_Week/Projects/DigitalPathologyNuclearSegmentation Digital Pathology Nuclear Segmentation]
 +
* [http://wiki.slicer.org/slicerWiki/index.php/Documentation/Labs/OpenCV OpenCV integration on Slicer Labs]

Latest revision as of 18:55, 14 January 2016

Home < 2016 Winter Project Week < Projects < SlicerOpenCVExtension

Key Investigators

  • Nicole Aucoin (BWH)
  • Erich Bremmer (Stonybrook)
  • Andrey Fedorov (BWH)

Project Description

Objective Approach and Plan Progress and Next Steps
  • Add an extension to the Slicer extension repository that provides OpenCV as a library
  • Create CMake files to check out and build OpenCV as an external project
  • Create CMake files to check out and build the ITK OpenCV bridge as an external project
  • Provide examples on how to use OpenCV from Slicer

Background and References