3 #if _MSC_VER >= 1900 && defined(_M_X64)
5 #include "ComputationalGraphAugmentationBase.h"
12 class FL_EXPORT CBackendLabel;
16 class CInternalAugmentationMaskOperationForSegmentation;
19 class FL_EXPORT CComputationalGraphAugmentationForSegmentation :
public CComputationalGraphAugmentationBase<T>
22 CComputationalGraphAugmentationForSegmentation();
25 CComputationalGraphAugmentationForSegmentation(
const CComputationalGraphAugmentationForSegmentation<T>& cg);
29 CComputationalGraphAugmentationForSegmentation(
const CComputationalBase<T>& cbOperand,
const CAugmentationParameters& apParams);
30 CComputationalGraphAugmentationForSegmentation(
const CComputationalBase<T>& cbOperand,
const CAugmentationParameters* pApParams);
31 virtual ~CComputationalGraphAugmentationForSegmentation();
33 virtual CComputationalBase<T>* Clone()
const override;
35 virtual const CResult GetBinaryData(Base::CFLData& fldBinary,
bool bSuperClass =
false, int32_t i32Version = -1,
bool bDumpMode =
false)
const override;
36 virtual const CResult GetBinaryData(Base::CFLData* pFldBinary,
bool bSuperClass =
false, int32_t i32Version = -1,
bool bDumpMode =
false)
const override;
38 virtual const CResult SetBinaryData(
const Base::CFLData& fldBinary, int64_t* pI64Offset =
nullptr)
override;
39 virtual const CResult SetBinaryData(
const Base::CFLData* pFldBinary, int64_t* pI64Offset =
nullptr)
override;
42 DeclareGetClassType();
43 SupportToDuplicateObjectWithoutCreateNewObject(CComputationalGraphAugmentationForSegmentation, *
this);
46 DeclareGetSignletonObject(CComputationalGraphAugmentationForSegmentation);
50 template <
typename T>
friend class CInternalAugmentationForSegmentation;
53 #define CCGFAugmentationSS(...) (*(new CComputationalGraphAugmentationForSegmentation<float>(__VA_ARGS__)))
54 #define CCGDAugmentationSS(...) (*(new CComputationalGraphAugmentationForSegmentation<double>(__VA_ARGS__)))
56 #define CCGTAugmentationSS(T, ...) (*(new CComputationalGraphAugmentationForSegmentation<T>(__VA_ARGS__)))
Augmentation Parameter Class By transforming the images, it increases the diversity of training image...
Definition AugmentationParameters.h:69
Definition AlgorithmAIBase.h:18