[Insight-users] Where is itkComposeImageFilter.h?

Mengqiu Tian tianmengqiu at gmail.com
Wed Sep 7 10:27:51 EDT 2011


Hi all,

I am trying to write my own example to convert a collection of scalar images
into a vector image.
I found an example on wiki, it uses itkComposeImageFilter.h, however, when I
try to use cmake to compile my program, it is said that
itkComposeImageFilter.h could not be found.
My CMakeList as follows

CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
IF(COMMAND CMAKE_POLICY)
  CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)

PROJECT( test )

FIND_PACKAGE ( ITK REQUIRED )
IF ( ITK_FOUND )
        INCLUDE( ${ITK_USE_FILE} )
ENDIF ( ITK_FOUND )

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

Thx a lot

Mengqiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110907/f6c79bae/attachment.htm>


More information about the Insight-users mailing list