15 #ifndef __IPSDKIPLCLASSIFICATION_PCAREDUCTIONIMGLVL1_H__ 16 #define __IPSDKIPLCLASSIFICATION_PCAREDUCTIONIMGLVL1_H__ 21 #include <IPSDKIPL/IPSDKIPLClassification/Rule/PCAReductionRuleUtils.h> 24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOptPCAReductionParams.h> 25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutPCAEigenValues.h> 26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutPCAEigenVectors.h> 27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InHomogeneousImg.h> 28 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/Optional/OutOptSeqImg.h> 29 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/OutPCAMatrixRank.h> 30 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/Optional/InOptSingleGreyMaskImg.h> 36 class PCADecompositionLvl1;
44 ipsdk::imaproc::matchSize(eMatchImageSizeType::eMIST_3d, _pInHomogeneousImg, _pOutOptSeqImg) &&
47 matchSize<attr::PCAReductionParams::NbExpectedElementsInSequence>(eMatchImageSizeType::eMIST_T, eMatchImageSizeScale::eMISS_FullSize, _pOutOptSeqImg, _pInOptPCAReductionParams),
48 img1SizeTLowerEqualImg2SizeCSizeTProduct(_pInHomogeneousImg, _pOutOptSeqImg))) &&
50 expectedEltInOutSeqLowerEqualInImgSizeCSizeTProduct(_pInHomogeneousImg, _pInOptPCAReductionParams),
53 ipsdk::imaproc::matchSize(eMatchImageSizeType::eMIST_3d, _pInHomogeneousImg, _pInOptSingleGreyMaskImg)),
54 (((
ipsdk)(imaproc)(attr))(InHomogeneousImg))
55 (((
ipsdk)(imaproc)(attr))(InOptSingleGreyMaskImg))
56 (((
ipsdk)(imaproc)(attr))(InOptPCAReductionParams))
57 (((
ipsdk)(imaproc)(attr))(OutOptSeqImg))
60 (((
ipsdk)(imaproc)(attr))(OutPCAMatrixRank)))
67 const boost::shared_ptr<core::BaseAction>& pProcessor,
68 const core::BasePriority& priority,
73 boost::shared_ptr<PCADecompositionLvl1> _pDecompositionProcessor;
83 #endif // __IPSDKIPLCLASSIFICATION_PCAREDUCTIONIMGLVL1_H__ ProcessingResult< eRetrievalResultType > RetrievalResult
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
boost::enable_if_c< AttributeType::g_bOptional, RulePtr >::type ifIsSet(const boost::shared_ptr< AttributeType > &pAttribute, const RulePtr &pRuleTrue)
Definition of import/export macro for library.
processor::OutputInitializerPtr allocate(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute)
boost::enable_if_c< AttributeType::g_bOptional, RulePtr >::type isSet(const boost::shared_ptr< AttributeType > &pAttribute)
boost::shared_ptr< BaseActionProvider > ActionProviderPtr
expected dimensionality of output sequence image
Definition: PCAReductionCriteria.h:35
IPSDKBASEPROCESSING_API RulePtr If(const RulePtr &pPredicate, const RulePtr &pRuleTrue)