简体   繁体   中英

How do I interpolate over tif file image using itk?

This only goes out to those who knows the itk package well. I just started using itk package recently to try to play with images using it, and I have a question.

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).

Can anyone give me a sample code for this using 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

Hope that helps -

There are many well organized coding examples at:

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

Everything you wish to accomplish is described on those pages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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