FLImaging 6.5.16.1
ComputationalGraphAugmentationForObjectDetection.h
1#pragma once
2
3#if _MSC_VER >= 1900 && defined(_M_X64)
4
5#include "ComputationalGraphAugmentationBase.h"
6
7namespace FLImaging
8{
9 namespace AI
10 {
11 class CAugmentationParameters;
12
13 template<typename T>
14 class CInternalAugmentationForObjectDetection;
15
16 template <typename T>
17 class FL_EXPORT CComputationalGraphAugmentationForObjectDetection : public CComputationalGraphAugmentationBase<T>
18 {
19 private:
20 CComputationalGraphAugmentationForObjectDetection();
21
22 protected:
23 CComputationalGraphAugmentationForObjectDetection(const CComputationalGraphAugmentationForObjectDetection<T>& cg);
24
25 public:
26
27 CComputationalGraphAugmentationForObjectDetection(const CComputationalBase<T>& cbOperand, const CAugmentationParameters& apParams);
28 CComputationalGraphAugmentationForObjectDetection(const CComputationalBase<T>& cbOperand, const CAugmentationParameters* pApParams);
29 virtual ~CComputationalGraphAugmentationForObjectDetection();
30
31 virtual CComputationalBase<T>* Clone() const override;
32
33
34 DeclareGetClassType();
35 SupportToDuplicateObjectWithoutCreateNewObject(CComputationalGraphAugmentationForObjectDetection, *this);
36
37 protected:
38 public:
39 DeclareGetSignletonObject(CComputationalGraphAugmentationForObjectDetection);
40
41
42 private:
43 template <typename T> friend class CInternalAugmentationForObjectDetection;
44 };
45
46 #define CCGFAugmentationOD(...) (*(new CComputationalGraphAugmentationForObjectDetection<float>(__VA_ARGS__)))
47 #define CCGDAugmentationOD(...) (*(new CComputationalGraphAugmentationForObjectDetection<double>(__VA_ARGS__)))
48
49 #define CCGTAugmentationOD(T, ...) (*(new CComputationalGraphAugmentationForObjectDetection<T>(__VA_ARGS__)))
50 }
51}
52
53#endif