【2016年7月4周】编译ITK

1、下载必备文件 InsightToolkit-4.8.1、cmake
2、cmake编译
编译ITK
修改CMAKE_INSTALL_PREFIX配置到需要生成的目录下面去。
然后Generate
进行相应的配置
编译ITK
编译ITK
编写相应的代码
// ConsoleApplication1.cpp : 定义控制台应用程序的入口点。
//
 
#include "stdafx.h"
#include <iostream>
#include "itkimage.h"
using namespace std;
 
int _tmain(int argc_TCHARargv[])
{
    typedef itk::Image<unsigned short,3> ImageType;
    ImageType::Pointer iamge = ImageType::New();
    cout<<"ok"<<endl;
    return 0;
}
编译ITK
结果是正确的。
 
 





目前方向:图像拼接融合、图像识别 联系方式:[email protected]

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-08-15
  • 2021-09-20
  • 2021-09-14
  • 2021-08-02
  • 2021-06-29
猜你喜欢
  • 2021-11-27
  • 2021-05-05
  • 2021-10-30
  • 2021-07-05
  • 2021-11-22
  • 2021-09-02
相关资源
相似解决方案