/*========================================================================= Program: vv http://www.creatis.insa-lyon.fr/rio/vv Authors belong to: - University of LYON http://www.universite-lyon.fr/ - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the copyright notices for more information. It is distributed under dual licence - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html ======================================================================-====*/ #ifndef CLITKCOMPOSEVF_CXX #define CLITKCOMPOSEVF_CXX /** * @file clitkComposeVF.cxx * @author Jef Vandemeulebroucke * @date July 20 10:14:53 2007 * * @brief Read in two VF (ex mhd, vf)compose them using lirear interpolation. * */ // clitk include #include "clitkComposeVF_ggo.h" #include "clitkIO.h" #include "clitkImageCommon.h" #include "clitkComposeVFGenericFilter.h" int main( int argc, char *argv[] ) { // Init command line GGO(clitkComposeVF, args_info); CLITK_INIT; //Creation of the generic filter clitk::ComposeVFGenericFilter::Pointer ComposeVFGenericFilter= clitk::ComposeVFGenericFilter::New(); //Pass the parameters ComposeVFGenericFilter->SetInput1(args_info.input1_arg); ComposeVFGenericFilter->SetInput2(args_info.input2_arg); ComposeVFGenericFilter->SetOutput(args_info.output_arg); //JV how to pass for different dims? //ComposeVFGenericFilter->SetEdgePaddingValue(args_info.pad_arg); ComposeVFGenericFilter->SetVerbose(args_info.verbose_flag); ComposeVFGenericFilter->Update(); return EXIT_SUCCESS; } #endif