博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Craniosynostosis Code Comments
阅读量:6816 次
发布时间:2019-06-26

本文共 3337 字,大约阅读时间需要 11 分钟。

DataDriver:
\\10.54.13.33\Linguraru-Lab\Linguraru Lab 1 I rebuilt the codes from Carlos for the project "Craniosynostosis" under so far newest Ubuntu Linux 14.04 and Slicer4. It took me a lot of time due to the compilation problems. The results may be different from the Carlos's results due to the following change 1. All files using "BRAINSFit" module have the following change (note: symbol '......' indicates some parts ignored) Carlos: std,err = subprocess.Popen(["
/home/cmendoza/CNMCModules/BRAINSStandAlone-build/lib/BRAINSFit",......,'
--useSimilarity3D',......],                 stdout=subprocess.PIPE,stderr=subprocess.PIPE).communicate() ours: std,err = subprocess.Popen(["
/home/jinqi/Slicer4-SuperBuild-Debug/Slicer-build/lib/Slicer-4.3/cli-modules/BRAINSFit",.......,'
--useScaleSkewVersor3D',.....],                 stdout=subprocess.PIPE,stderr=subprocess.PIPE).communicate() The following changes will not affect the experimental results and they are for compilation problems 1. in GCoptimization.h file, add the following line at the beginning:
#include <cstddef> 2. in Energy.h file, change like this
what_segment
add_tweight
add_edge becomes
this->what_segment
this->add_tweight
this->add_edge 3. compile problem with original module "BRAINSResample" in directory "BRAINSStandAlone"; the module is already in Slicer, We use the built in module in Slicer. 4. "wrapper" , "Hausdorff" is not in slicer, we have to manually build and add 5. modelmaker python example 6. to compile "Hausdorff" module, makefile.txt 7. slicer module compiling:
mkdir MyModule-build
    cd MyModule-build
    cmake -DSlicer_DIR:PATH=/path/to/Slicer-Superbuild/Slicer-build ../MyModule $
    make Program generated file "Batch/RegistrationFailedNovember.csv": include all cases for test. Compile "TemplateBuilder" module: fatal error: boost/algorithm/string.hpp: No such file or directory|, solution: Compile "CurvatureCompute" module:  need to compile and install "boost" package and compile and install VTKv6  in slicer with the instruction in and , using ccmake to ensure
set Module_vtkInfovisBoost=ON and Module_vtkInfovisBoostGraphAlgorithms=ON, and you probably should set up some options using ccmake if you have the following error notices:
/usr/bin/ld: cannot find -lvtkWrappingPythonCore /usr/bin/ld: cannot find -lvtkViewsQt /usr/bin/ld: cannot find -lvtkGUISupportQt /usr/bin/ld: cannot find -lvtkRenderingQt /usr/bin/ld: cannot find -lvtkGUISupportQtOpenGL /usr/bin/ld: cannot find -lvtkGUISupportQtSQL /usr/bin/ld: cannot find -lvtkRenderingFreeTypeFontConfig /usr/bin/ld: cannot find -lvtkFiltersPython /usr/bin/ld: cannot find -lvtkGUISupportQtWebkit   8. Matlab source codes for face recognition via sparse coding: http://www.mathworks.com/matlabcentral/fileexchange/30893-robust-face-recognition-via-sparse-representation-implementation 9. slicer build label map: 10. bash scripts for building cranio modules: #!/bin/bash BuildModule(){ Src_Dir=$1 echo $Src_Dir Build_Dir="$Src_Dir""-build" rm -rf $Build_Dir mkdir $Build_Dir cd $Build_Dir cmake -DSlicer_DIR:PATH=/home/jqi/MyProjects/Slicer-SuperBuild-Debug/Slicer-build $Src_Dir make } BuildModule $1 11. qmake version choose: Qt4.7.4 install: qmake directory: /home/jqi/QtSDK/Desktop/Qt/474/gcc/bin 12. nice surgical planning paper: a)    13. surface segmentation: 

转载于:https://www.cnblogs.com/stoneresearch/p/4336416.html

你可能感兴趣的文章
Delphi 设置系统默认打印机
查看>>
AliOS Things网络适配框架 - SAL
查看>>
数组 将一个数组的元素和另一个素组的元素相加,然后赋给第三个数组
查看>>
Python常用模块汇总
查看>>
sa提开放系统下的虚拟新贵Virtualbox权技巧之xp_regwrite替换sethc.exe
查看>>
SpringBoot开发案例之整合Dubbo提供者(一)
查看>>
变态的程序
查看>>
腾讯抄你肿么办 ?
查看>>
java多线程的Fork/Join
查看>>
ftp 服务器的配置
查看>>
JavaScript的浏览器兼容性问题小结。
查看>>
Oracle Hint的用法
查看>>
Postfix邮件系统
查看>>
《编写可读代码的艺术》读书文摘--第一部分 表面层次的改进
查看>>
使用Nodejs创建基本的网站 Microblog--《Node.js开发指南》 3
查看>>
网管工作是否值得做下去?
查看>>
神行者PD10-adb push逃脱ro权限
查看>>
JPA(四)之实体关系一对一
查看>>
如何使用羊驼自动生成缩略图的功能。
查看>>
定制化Azure站点Java运行环境(1)
查看>>