IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PCAReductionResultsTypes.h
Go to the documentation of this file.
1 // PCAReductionResultsTypes.h:
3 // -----------------------------
4 //
14 
15 #ifndef __IPSDKIPLCLASSIFICATION_PCAREDUCTIONRESULTSTYPES_H__
16 #define __IPSDKIPLCLASSIFICATION_PCAREDUCTIONRESULTSTYPES_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::imaproc::filter::PCAReductionResults::_pOutImg' : class 'boost::shared_ptr<T>' needs to have dll-interface to be used by clients of struct 'ipsdk::imaproc::classif::PCAReductionResults'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
25 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/Doubles.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace classif {
30 
33 
38 {
42  const image::ImagePtr& pOutImg,
43  const attr::DoublesPtr& pEigenValues,
44  const attr::DoublesPtr& pEigenVectors,
45  ipUInt32 matrixRank)
46  : _pOutImg(pOutImg)
47  , _pEigenValues(pEigenValues)
48  , _pEigenVectors(pEigenVectors)
49  , _matrixRank(matrixRank)
50  {
51  }
52 
55 
58 
61 
66 
69 };
70 
73 
74 } // end of namespace classif
75 } // end of namespace imaproc
76 } // end of namespace ipsdk
77 
78 #pragma warning (pop)
79 
80 #endif // __IPSDKIPLCLASSIFICATION_PCAREDUCTIONRESULTSTYPES_H__
attr::DoublesPtr _pEigenValues
collection of eigen values, sorted in decreasing order
Definition: PCAReductionResultsTypes.h:60
attr::DoublesPtr _pEigenVectors
Definition: PCAReductionResultsTypes.h:65
image::ImagePtr _pOutImg
output image
Definition: PCAReductionResultsTypes.h:57
#define IPSDKIPLCLASSIFICATION_API
Import/Export macro for library IPSDKIPLClassification.
Definition: IPSDKIPLClassificationExports.h:25
boost::shared_ptr< BaseImage > ImagePtr
boost::shared_ptr< ipsdk::imaproc::attr::Doubles > DoublesPtr
shared pointer to ipsdk::imaproc::Doubles
Definition: Doubles.h:124
Definition of import/export macro for library.
Structure allowing to encaspulate the result of a PCA image reduction.
Definition: PCAReductionResultsTypes.h:37
ipUInt32 _matrixRank
rank of the covariance matrix
Definition: PCAReductionResultsTypes.h:68
uint32_t ipUInt32