IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Functions
main.cpp File Reference
#include <IPSDKCore/Config/LibraryInitializer.h>
#include <IPSDKIPL/IPSDKIPLIntensityTransform/Processor/Equalize2dImg/Equalize2dImg.h>
#include <IPSDKBaseProcessing/Logger/IPSDKBaseProcessingException.h>
#include <IPSDKImageFile/Logger/IPSDKImageFileException.h>
#include <IPSDKImageFile/Tiff/TiffImageFileUtils.h>
#include <IPSDKUtil/Tools/LibraryPath.h>
#include <Sample/Sample_HistogramEqualization/Logger/Sample_HistogramEqualizationLog.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, ipsdk::ipReal64 &fOutImgMin, ipsdk::ipReal64 &fOutImgMax)
 read and interpret command line arguments, and, when appropriate initialize input and output images files paths and expected output image pixels values range from them More...
 
int main (int argc, char *argv[])
 Main entry point. More...
 

Detailed Description

Author
H. Delestre
Date
2014/10/01

Function Documentation

◆ readCmdArguments()

bool readCmdArguments ( int  argc,
char *  argv[],
boost::filesystem::path &  inImgFilePath,
boost::filesystem::path &  outImgFilePath,
ipsdk::ipReal64 fOutImgMin,
ipsdk::ipReal64 fOutImgMax 
)

read and interpret command line arguments, and, when appropriate initialize input and output images files paths and expected output image pixels values range 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]

[DocSampleDeclareRange]

[DocSampleDeclareRange]

[DocSampleReadCmdArguments]

[DocSampleReadCmdArguments]

[DocSampleLoadImage]

[DocSampleLoadImage]

[DocSampleApplyOp]

[DocSampleApplyOp]]

[DocSampleSaveImage]

[DocSampleSaveImage]

[DocSampleCleanIPSDK]