return (int)1;
}
- std::string path(argv[1]);
+ std::string path = argv[1] ;
#ifdef WIN32
std::string fname = path + "\\bbtkPackage";
#else
- std::string fname = path + "/bbtkPackage";
+ std::string fname = path + "/bbtkPackage" ;
#endif
-
if ( ! Utilities::FileExists( fname ) )
{
- std::cout << "* ERROR : The directory '"<<path<<"' does not contain a 'bbtkPackage' file" << std::endl;
+ std::cout << "* ERROR : The directory '"<< path <<" ' does not contain a 'bbtkPackage' file" << std::endl;
return (int)2;
+
}
std::ifstream f;
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(BinaryOperations,bbtk::AtomicBlackBox);
-BBTK_NAME("BinaryOperations");
-BBTK_AUTHOR("Info-Dev");
-BBTK_DESCRIPTION("Arithmetic operations between two images: add, substract, multiply, divide");
-BBTK_CATEGORY("filter");
-BBTK_INPUT(BinaryOperations,In1,"first image to be operated",vtkImageData*,"NULL default");
-BBTK_INPUT(BinaryOperations,In2,"second image to be operated",vtkImageData*,"NULL default");
-BBTK_INPUT(BinaryOperations,Operation,"0:Add (default) , 1:subtract, 2:multiply, 3:divide",int,"");
-BBTK_OUTPUT(BinaryOperations,Out,"",vtkImageData*,"");
+ BBTK_NAME("BinaryOperations");
+ BBTK_AUTHOR("Info-Dev");
+ BBTK_DESCRIPTION("Arithmetic operations between two images");
+ BBTK_CATEGORY("filter");
+ BBTK_INPUT(BinaryOperations,In1,"first image to be operated",vtkImageData*,"NULL default");
+ BBTK_INPUT(BinaryOperations,In2,"second image to be operated",vtkImageData*,"NULL default");
+ BBTK_INPUT(BinaryOperations,Operation,"0:Add (default) , 1:subtract, 2:multiply, 3:divide, 4=Max, 5=Min",int,"");
+ BBTK_OUTPUT(BinaryOperations,Out,"",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(BinaryOperations);
}
// EO namespace bbSimpleProcessing