简体   繁体   English

如何使用itk对tif文件图像进行插值?

[英]How do I interpolate over tif file image using itk?

This only goes out to those who knows the itk package well. 这只对那些非常了解itk软件包的人有用。 I just started using itk package recently to try to play with images using it, and I have a question. 我最近才开始使用itk包尝试使用它来处理图像,但我有一个问题。

I have two tif image files(dicom images), and I want to divide the image into 4, then combine two images into one(two images have same pixels and dimensions, and they are supposed to be on top of each other). 我有两个tif图像文件(dicom图像),我想将图像分成4个,然后将两个图像合并为一个(两个图像具有相同的像素和尺寸,并且应该彼此重叠)。

Can anyone give me a sample code for this using itk? 任何人都可以使用itk给我一个示例代码吗? Thank you so much for your time. 非常感谢您的参与。

I don't have any example code handy, but I wonder if this isn't what you are looking for: 我没有任何示例代码,但是我想知道这是否不是您要的内容:
http://www.itk.org/Doxygen/html/classitk_1_1BinaryFunctorImageFilter.html#_details http://www.itk.org/Doxygen/html/classitk_1_1BinaryFunctorImageFilter.html#_details

Hope that helps - 希望有帮助-

There are many well organized coding examples at: 有许多组织良好的编码示例,网址为:

http://www.vtk.org/Wiki/ITK/Examples http://www.vtk.org/Wiki/ITK/Examples

Everything you wish to accomplish is described on those pages. 这些页面描述了您希望完成的所有事情。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM