Newer
Older
/* MELODIC - Multivariate exploratory linear optimized decomposition into
independent components
melodic.h - main program header
Christian F. Beckmann, FMRIB Image Analysis Group
/* CCOPYRIGHT */
#ifndef __MELODIC_h
#define __MELODIC_h
// a simple message macro that takes care of cout and log
#define message(msg) { \
MelodicOptions& opt = MelodicOptions::getInstance(); \
if(opt.verbose.value()) \
{ \
cout << msg; \
} \
Log& logger = LogSingleton::getInstance(); \
logger.str() << msg; \
cout.flush(); \
}
#define outMsize(msg,Mat) { \
cout << msg << " " <<Mat.Nrows() << " x " << Mat.Ncols() << endl; \