Struct VppConfig::InjectionParameters
Defined in File VppConfig.hpp
Nested Relationships
This struct is a nested type of Class VppConfig.
Struct Documentation
-
struct InjectionParameters
Public Functions
-
inline bool getUseInjection() const
Check if injection is enabled False: all possible pixels will be used.
- Returns:
True if injection is used
-
inline void setUseInjection(bool value)
Enable or disable injection.
- Parameters:
value – True to use injection, false to disable
-
inline int getKernelSize() const
Get kernel size for injection.
- Returns:
Kernel size
-
inline void setKernelSize(int value)
Set kernel size for injection.
- Parameters:
value – Kernel size to set
-
inline float getTextureThreshold() const
Get texture threshold.
- Returns:
Texture threshold value
-
inline void setTextureThreshold(float value)
Set texture threshold.
- Parameters:
value – Texture threshold to set
-
inline float getConfidenceThreshold() const
Get confidence threshold.
- Returns:
Confidence threshold value
-
inline void setConfidenceThreshold(float value)
Set confidence threshold.
- Parameters:
value – Confidence threshold to set
-
inline int getMorphologyIterations() const
Get number of morphology iterations.
- Returns:
Number of iterations
-
inline void setMorphologyIterations(int value)
Set number of morphology iterations.
- Parameters:
value – Number of iterations
-
inline bool isUseMorphology() const
Check if morphology is used.
- Returns:
True if morphology is applied
-
inline void setUseMorphology(bool value)
Enable or disable morphology.
- Parameters:
value – True to use morphology, false to disable
-
DEPTHAI_SERIALIZE(InjectionParameters, useInjection, kernelSize, textureThreshold, confidenceThreshold, morphologyIterations, useMorphology)
Public Members
-
bool useInjection = true
-
int kernelSize = 3
-
float textureThreshold = 0.5
-
float confidenceThreshold = 0.5
-
int morphologyIterations = 5
-
bool useMorphology = true
-
inline bool getUseInjection() const