IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Functions
main.cpp File Reference
#include <IPSDKCore/Config/LibraryInitializer.h>
#include <IPSDKIPL/IPSDKIPLArithmetic/Processor/L2Norm2Img/L2Norm2Img.h>
#include <IPSDKIPL/IPSDKIPLFiltering/Processor/GaussianGradient2dImg/GaussianGradient2dImg.h>
#include <IPSDKBaseProcessing/Logger/IPSDKBaseProcessingException.h>
#include <IPSDKImageFile/Logger/IPSDKImageFileException.h>
#include <IPSDKImageFile/Tiff/TiffImageFileUtils.h>
#include <IPSDKUtil/Tools/LibraryPath.h>
#include <Sample/Sample_GradientNorm/Logger/Sample_GradientNormLog.h>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/program_options/cmdline.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/variables_map.hpp>
#include <log4cplus/consoleappender.h>
#include <iostream>

Functions

bool readCmdArguments (int argc, char *argv[], boost::filesystem::path &inImgFilePath, boost::filesystem::path &outImgFilePath, ipReal32 &stdDev)
 read and interpret command line arguments, and, when appropriate initialize input and output images files paths and standard deviation from them More...
 
int main (int argc, char *argv[])
 Main entry point. More...
 

Detailed Description

Author
H. Delestre
Date
2014/09/23

Function Documentation

◆ readCmdArguments()

bool readCmdArguments ( int  argc,
char *  argv[],
boost::filesystem::path &  inImgFilePath,
boost::filesystem::path &  outImgFilePath,
ipReal32 stdDev 
)

read and interpret command line arguments, and, when appropriate initialize input and output images files paths and standard deviation from them

[DocSampleCleanIPSDK]

Returns
false if application has to exit just after the call of this function (invalid number of arguments in command line, one of the arguments is invalid, or the user typed "app_name.exe --help")

◆ main()

int main ( int  argc,
char *  argv[] 
)

Main entry point.

[DocSampleOutputLogsToConsole]

[DocSampleOutputLogsToConsole]

[DocSampleInitIPSDK]

[DocSampleInitIPSDK]

[DocSampleDeclarePaths]

[DocSampleDeclarePaths]

[DocSampleDeclareStdDev]

[DocSampleDeclareStdDev]

[DocSampleReadCmdArguments]

[DocSampleReadCmdArguments]

[DocSampleLoadImage]

[DocSampleLoadImage]

[DocSampleApplyOp]

[DocSampleApplyOp]]

[DocSampleSaveImage]

[DocSampleSaveImage]

[DocSampleCleanIPSDK]