IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
VSNR2dImg.h
Go to the documentation of this file.
1 // VSNR2dImg.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKIPLFILTERING_VSNR2DIMG_H__
16 #define __IPSDKIPLFILTERING_VSNR2DIMG_H__
17 
20 #include <IPSDKIPL/IPSDKIPLFiltering/Tools/VSNRImgTypes.h>
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace filter {
25 
26 class VSNR2dImgLvl1;
27 
30 
35 IPSDKIPLFILTERING_API VSNRResult
36 vsnr2dImg(const image::ImageConstPtr& pInImg,
37  const ipUInt32 nbIter,
38  const ipReal32 stdDevX,
39  const ipReal32 stdDevY,
40  const ipReal32 theta,
41  const ipReal64 alpha);
42 
44 vsnr2dImg(const image::ImageConstPtr& pInImg,
45  const ipUInt32 nbIter,
46  const ipReal32 stdDevX,
47  const ipReal32 stdDevY,
48  const ipReal32 theta,
49  const ipReal64 alpha,
50  const image::ImagePtr& pOutCorrectedImg,
51  const image::ImagePtr& pOutNoiseImg);
52 
53 IPSDKIPLFILTERING_API VSNRResult
54 vsnr2dImg(const image::ImageConstPtr& pInImg,
55  const image::ImageConstPtr& pNoiseImg,
56  const ipUInt32 nbIter,
57  const ipReal64 alpha);
58 
60 vsnr2dImg(const image::ImageConstPtr& pInImg,
61  const image::ImageConstPtr& pNoiseImg,
62  const ipUInt32 nbIter,
63  const ipReal64 alpha,
64  const image::ImagePtr& pOutCorrectedImg,
65  const image::ImagePtr& pOutNoiseImg);
67 
70 IPSDKIPLFILTERING_API boost::shared_ptr<VSNR2dImgLvl1>
72  const ipUInt32 nbIter,
73  const ipReal32 stdDevX,
74  const ipReal32 stdDevY,
75  const ipReal32 theta,
76  const ipReal64 alpha);
77 
78 IPSDKIPLFILTERING_API boost::shared_ptr<VSNR2dImgLvl1>
80  const ipUInt32 nbIter,
81  const ipReal32 stdDevX,
82  const ipReal32 stdDevY,
83  const ipReal32 theta,
84  const ipReal64 alpha,
85  const image::ImagePtr& pOutCorrectedImg,
86  const image::ImagePtr& pOutNoiseImg);
87 
88 IPSDKIPLFILTERING_API boost::shared_ptr<VSNR2dImgLvl1>
90  const image::ImageConstPtr& pNoiseImg,
91  const ipUInt32 nbIter,
92  const ipReal64 alpha);
93 
94 IPSDKIPLFILTERING_API boost::shared_ptr<VSNR2dImgLvl1>
96  const image::ImageConstPtr& pNoiseImg,
97  const ipUInt32 nbIter,
98  const ipReal64 alpha,
99  const image::ImagePtr& pOutCorrectedImg,
100  const image::ImagePtr& pOutNoiseImg);
102 
105 IPSDKIPLFILTERING_API VSNRResult
106 getAsyncProcessorOutput(boost::shared_ptr<VSNR2dImgLvl1> pProcessor);
108 
111 
112 } // end of namespace filter
113 } // end of namespace imaproc
114 } // end of namespace ipsdk
115 
116 #endif // __IPSDKIPLFILTERING_VSNR2DIMG_H__
boost::shared_ptr< BaseImage > ImagePtr
double ipReal64
IPSDKIPLFILTERING_API boost::shared_ptr< VSNR2dImgLvl1 > vsnr2dImg_async(const image::ImageConstPtr &pInImg, const ipUInt32 nbIter, const ipReal32 stdDevX, const ipReal32 stdDevY, const ipReal32 theta, const ipReal64 alpha)
asynchronous wrappers
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLFILTERING_API image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< AnisotropicDiffusion2dImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
#define IPSDKIPLFILTERING_API
Import/Export macro for library IPSDKIPLFiltering.
Definition: IPSDKIPLFilteringExports.h:25
IPSDKIPLFILTERING_API VSNRResult vsnr2dImg(const image::ImageConstPtr &pInImg, const ipUInt32 nbIter, const ipReal32 stdDevX, const ipReal32 stdDevY, const ipReal32 theta, const ipReal64 alpha)
wrapper function for Variational Stationary Noise Remover
Definition of import/export macro for library.
float ipReal32
uint32_t ipUInt32