/usr/src/WrapITK/Tcl/Tests/simplePipeline.tcl.in is in libinsighttoolkit3-dev 3.20.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #
# a very simple pipeline
#
package require InsightToolkit
set reader [ itkImageFileReaderI@TCL_TEST_PIXEL_TYPE@@TCL_TEST_IMAGE_DIMENSION@_New ]
set writer [ itkImageFileWriterI@TCL_TEST_PIXEL_TYPE@@TCL_TEST_IMAGE_DIMENSION@_New ]
$writer SetInput [ $reader GetOutput ]
$reader SetFileName [lindex $argv 0]
$writer SetFileName [lindex $argv 1]
$writer Update
exit
|