/*=========================================================================
Program: vv http://www.creatis.insa-lyon.fr/rio/vv
/*=========================================================================
Program: vv http://www.creatis.insa-lyon.fr/rio/vv
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
for(unsigned int i=0; i<args_info.inputs_num; i++) {
itk::ImageIOBase::Pointer header = clitk::readImageHeader(args_info.inputs[i]);
if (header) {
if (args_info.name_flag) std::cout << "[" << args_info.inputs[i] << "]\t ";
if (args_info.long_given) {
for(unsigned int i=0; i<args_info.inputs_num; i++) {
itk::ImageIOBase::Pointer header = clitk::readImageHeader(args_info.inputs[i]);
if (header) {
if (args_info.name_flag) std::cout << "[" << args_info.inputs[i] << "]\t ";
if (args_info.long_given) {
- // std::cout << std::endl;
- clitk::printImageHeader(header, std::cout, args_info.long_arg);
- }
- else {
- if (args_info.verbose_flag) clitk::printImageHeader(header, std::cout, 1);
- else {
- clitk::printImageHeader(header, std::cout, 0);
- std::cout << std::endl;
- }
+ // std::cout << std::endl;
+ clitk::printImageHeader(header, std::cout, args_info.long_arg);
+ } else {
+ if (args_info.verbose_flag) clitk::printImageHeader(header, std::cout, 1);
+ else {
+ clitk::printImageHeader(header, std::cout, 0);
+ std::cout << std::endl;
+ }