当前位置:网站首页>itk itk::BSplineDeformableTransform
itk itk::BSplineDeformableTransform
2022-06-12 12:25:00 【4月16!】
itk::BSplineDeformableTransform:可以实现变形配准
【在ITK_VERSION_MAJOR >4 后变成itk::BSplineTransform】
代码链接:(SphinxExamples/src/Core/Transform/GlobalRegistrationTwoImagesBSpline/Code.cxx)
如果出现类似这种错误:Too many samples map outside moving image buffer: 13840 / 1722508
错误点在于:说明两个图像在配准前差距太大,至于是哪方面差距?我觉得size 和 spacing,dierect都可以忽略,这里主要看下origin的差距;
备注:在我的实验过程中,size和spacing,方向在配准前都是不一样的,所以我觉得应该是origin的问题
因此用itkChangeInformationImageFilter :把fixed 和 moving两个图像的origin设置一下,具体就是把moving的origin设置为fixed的origin
【https://itk.org/Doxygen/html/classitk_1_1ChangeInformationImageFilter.htm
这里有例子可以参考用法;】
最终就可以用上述的例子进行配准;这是我用自己的两个数据集得到的结果,是WarpImageFilter滤波后的结果,看下效果还是不错的,

边栏推荐
- Start with Xiaobai, take the weight parameter from the trained model and draw the histogram
- A short guide to SSH port forwarding
- Click to generate 4-bit random number and verify code setting
- 【Leetcode】221. Largest Square
- Get all IPv4 and IPv6 addresses of this computer
- Map and set of ES6
- Preliminary study on Regional Simulation of crop model
- 2021-11-16
- Conversion between ROS map picture pixels and map coordinate system coordinates
- Problems encountered in generating MP3 from text to speech through iFLYTEK voice API
猜你喜欢

Kdd2022 | edge information enhancement graph transformer

JS how to convert a string into an array object

VGG小卷积代替大卷积 VS 深度可分离卷积

Advanced C language -- storage of floating point in memory

Visio 2019 uses PJ

拿来就能用的网页动画特效,不来看看?

C语言深度解剖篇——关键字&&补充内容

Advanced C language -- storage of deep anatomical data in memory (with exercise)

Async/await for ES6

安装canvas遇到的问题和运行项目遇到的报错
随机推荐
Left and right cases + rotating pictures of small dots + no time
Lightweight ---project
BAT面试&高级进阶,文末领取面试资料
WebStorage
Start with Xiaobai, take the weight parameter from the trained model and draw the histogram
Kotlin扩展函数实现原理
Difference between Definition and Declaration
A short guide to SSH port forwarding
[translation] go references - the go memory model | memory model for Chinese translation of official golang documents
#ifndef#define#endif防止头文件重复包含, 你不是真的懂
JS how to get the values of multiple objects in an array
C语言深度解剖篇——关键字&&补充内容
一个ES设置操作引发的“血案”
Boot entry directory
NewOJ Week 10题解
JS convert string to array object
Numpy numerical calculation basis
[译] Go References - The Go Memory Model | golang官方文档中文翻译之内存模型
MySQL review
【Leetcode】79. Word search