[Insight-users] RayCastInterpolator

Vivien Delmon vivien.delmon at creatis.insa-lyon.fr
Wed May 9 05:05:09 EDT 2012


Hi,

I tried to use the RayCastInterpolator of itk without success. After 
googling a bit I found out that it does not take into account the 
physical unit of the image and consider the center of the voxel as the 
0,0,0 of the image. I did a minimal test case that shows this problem 
(attached to this mail).

I also found a patch that corrects this bug, but it is quite old (2006) 
and I was wondering why it is not in ITK ? Is there a problem in it ?

The patch is here :
http://www.itk.org/pipermail/insight-users/2006-March/017265.html

-- 
Vivien Delmon
PhD student at CREATIS, Lyon
Supported by ANRT and ELEKTA
http://www.creatis.insa-lyon.fr/rio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cc
Type: text/x-c++src
Size: 3380 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120509/38798a5b/attachment.cc>
-------------- next part --------------
# This is the root ITK CMakeLists file.
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
IF(COMMAND CMAKE_POLICY)
  CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)

# Find ITK.
FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})

ADD_EXECUTABLE(test test.cc )
TARGET_LINK_LIBRARIES(test ${ITK_LIBRARIES})


More information about the Insight-users mailing list