IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SobelGradient2dImg.h
Go to the documentation of this file.
1 // SobelGradient2dImg.h:
3 // ------------------------
4 //
14 
15 #ifndef __IPSDKIPLFILTERING_SOBELGRADIENT2DIMG_H__
16 #define __IPSDKIPLFILTERING_SOBELGRADIENT2DIMG_H__
17 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace filter {
26 
27 class SobelGradient2dImgLvl1;
28 
31 
36 IPSDKIPLFILTERING_API GradientXYImg
38 
39 IPSDKIPLFILTERING_API GradientXYImg
41  const ipsdk::eSobelKernelType& kernelType,
42  const bool bNormalize);
43 
46  const ipsdk::eSobelKernelType& kernelType,
47  const bool bNormalize,
48  const image::ImagePtr& pOutOptGradXImg,
49  const image::ImagePtr& pOutOptGradYImg);
50 
53 
56  const ipsdk::eSobelKernelType& kernelType,
57  const bool bNormalize);
58 
61  const ipsdk::eSobelKernelType& kernelType,
62  const bool bNormalize,
63  const image::ImagePtr& pOutXGradImg);
64 
67 
70  const ipsdk::eSobelKernelType& kernelType,
71  const bool bNormalize);
72 
75  const ipsdk::eSobelKernelType& kernelType,
76  const bool bNormalize,
77  const image::ImagePtr& pOutYGradImg);
79 
82 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
84 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
86  const ipsdk::eSobelKernelType& kernelType,
87  const bool bNormalize);
88 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
90  const ipsdk::eSobelKernelType& kernelType,
91  const bool bNormalize,
92  const image::ImagePtr& pOutOptGradXImg,
93  const image::ImagePtr& pOutOptGradYImg);
94 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
96 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
98  const ipsdk::eSobelKernelType& kernelType,
99  const bool bNormalize);
100 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
102  const ipsdk::eSobelKernelType& kernelType,
103  const bool bNormalize,
104  const image::ImagePtr& pOutXGradImg);
105 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
107 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
109  const ipsdk::eSobelKernelType& kernelType,
110  const bool bNormalize);
111 IPSDKIPLFILTERING_API boost::shared_ptr<SobelGradient2dImgLvl1>
113  const ipsdk::eSobelKernelType& kernelType,
114  const bool bNormalize,
115  const image::ImagePtr& pOutYGradImg);
117 
120 IPSDKIPLFILTERING_API GradientXYImg
121 getAsyncProcessorOutput(boost::shared_ptr<SobelGradient2dImgLvl1> pProcessor);
122 
123 
125 
128 
129 } // end of namespace filter
130 } // end of namespace imaproc
131 } // end of namespace ipsdk
132 
133 #endif // __IPSDKIPLFILTERING_SOBELGRADIENT2DIMG_H__
IPSDKIPLFILTERING_API image::ImagePtr sobelYGradient2dImg(const image::ImageConstPtr &pInImg)
wrapper function for Sobel filter used to compute gradient on a 2d image
IPSDKIPLFILTERING_API image::ImagePtr sobelXGradient2dImg(const image::ImageConstPtr &pInImg)
wrapper function for Sobel filter used to compute gradient on a 2d image
IPSDKIPLFILTERING_API boost::shared_ptr< SobelGradient2dImgLvl1 > sobelYGradient2dImg_async(const image::ImageConstPtr &pInImg)
asynchronous wrappers
boost::shared_ptr< BaseImage > ImagePtr
Predefined types for Gradient2dImg management.
eSobelKernelType
IPSDKIPLFILTERING_API boost::shared_ptr< SobelGradient2dImgLvl1 > sobelXGradient2dImg_async(const image::ImageConstPtr &pInImg)
asynchronous wrappers
IPSDKIPLFILTERING_API boost::shared_ptr< SobelGradient2dImgLvl1 > sobelGradient2dImg_async(const image::ImageConstPtr &pInImg)
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 GradientXYImg sobelGradient2dImg(const image::ImageConstPtr &pInImg)
wrapper function for Sobel filter used to compute gradient on a 2d image
Definition of import/export macro for library.