IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PatchBasedBilateralUtils.h
Go to the documentation of this file.
1 // PatchBasedBilateralUtils.h:
3 // ---------------------------
4 //
14 
15 #ifndef __UT_IPSDKIPLFILTERING_PATCHBASEDBILATERALUTILS_H__
16 #define __UT_IPSDKIPLFILTERING_PATCHBASEDBILATERALUTILS_H__
17 
18 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/PatchBasedBilateralParams.h>
19 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/PlanIndexedPatchBasedBilateralParams.h>
20 #include <IPSDKUtil/BaseTypes.h>
21 
22 namespace ipsdk {
23 
26 
27 bool
28 comparePatchBasedBilateralParams(
29  const imaproc::attr::PatchBasedBilateralParams& outParams,
30  const imaproc::attr::PatchBasedBilateralParams& refParams,
31  const ipReal64 paramsCompareTol,
32  const std::string& msgPrefix);
33 
34 bool
35 comparePlanIndexedPatchBasedBilateralParams(
36  const imaproc::attr::PlanIndexedPatchBasedBilateralParams& outPIParams,
37  const imaproc::attr::PlanIndexedPatchBasedBilateralParams& refPIParams,
38  const ipReal64 paramsCompareTol,
39  const std::string& msgPrefix);
40 
41 void
42 comparePatchBilateralResults(
43  const image::ImagePtr& pOutImg,
44  const imaproc::attr::PatchBasedBilateralParams& outParams,
45  const boost::filesystem::path& refImgPath,
46  const imaproc::attr::PatchBasedBilateralParams& refParams,
47  const ipReal64 imgCompareAbsTol,
48  const ipReal64 imgCompareRelTol,
49  const ipReal64 paramsCompareTol,
50  const std::string& msgPrefix);
51 
52 void
53 compareMultiSlicePatchBilateralResults(
54  const image::ImagePtr& pOutImg,
55  const imaproc::attr::PlanIndexedPatchBasedBilateralParams& outParams,
56  const boost::filesystem::path& refImgPath,
57  const imaproc::attr::PlanIndexedPatchBasedBilateralParams& refParams,
58  const ipReal64 imgCompareAbsTol,
59  const ipReal64 imgCompareRelTol,
60  const ipReal64 paramsCompareTol,
61  const std::string& msgPrefix);
62 
65 
66 } // end of namespace ipsdk
67 
68 #endif // __UT_IPSDKIPLFILTERING_PATCHBASEDBILATERALUTILS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::shared_ptr< BaseImage > ImagePtr
Definition: ImageTypes.h:139
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Base types for multiplatform compatibility.