MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.param.ssd.DistortionParameter Class Reference

Specifies the parameters for the DistortionParameter used with SSD. More...

Inheritance diagram for MyCaffe.param.ssd.DistortionParameter:
MyCaffe.param.OptionalParameter

Public Member Functions

 DistortionParameter (bool bActive)
 The constructor. More...
 
override void Copy (OptionalParameter src)
 Copy the object. More...
 
DistortionParameter Clone ()
 Return a clone of the object. More...
 
override RawProto ToProto (string strName)
 Convert this object to a raw proto. More...
 
- Public Member Functions inherited from MyCaffe.param.OptionalParameter
 OptionalParameter (bool bActive=false)
 The constructor. More...
 

Static Public Member Functions

static new DistortionParameter FromProto (RawProto rp)
 Parses the parameter from a RawProto. More...
 
- Static Public Member Functions inherited from MyCaffe.param.OptionalParameter
static OptionalParameter FromProto (RawProto rp)
 Parses the parameter from a RawProto. More...
 

Properties

long random_seed [getset]
 Get/set the random seed (default = 0, only used when testing). More...
 
bool use_gpu [getset]
 Get/set whether or not to use the GPU for the distortion operations (default = true). More...
 
float brightness_prob [getset]
 Get/set probability of adjusting the brightness (default = 0). More...
 
float brightness_delta [getset]
 Get/set amount to add to the pixel values within [-delta,delta] (default = 0) More...
 
float contrast_prob [getset]
 Get/set probability of adjusting the contrast (default = 0). More...
 
float contrast_lower [getset]
 Get/set lower bound for random contrast factor (default = 0.5). More...
 
float contrast_upper [getset]
 Get/set upper bound for random contrast factor (default = 1.5). More...
 
float saturation_prob [getset]
 Get/set probability of adjusting the saturation (default = 0). More...
 
float saturation_lower [getset]
 Get/set lower bound for random saturation factor (default = 0.5). More...
 
float saturation_upper [getset]
 Get/set upper bound for random saturation factor (default = 1.5). More...
 
float random_order_prob [getset]
 Get/set the probability of randomly ordering the image channels (default = 0). More...
 
- Properties inherited from MyCaffe.param.OptionalParameter
bool Active [getset]
 When active, the parameter is used, otherwise it is ignored. More...
 

Detailed Description

Specifies the parameters for the DistortionParameter used with SSD.

See also
SSD: Single Shot MultiBox Detector by Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg, 2016.
GitHub: SSD: Single Shot MultiBox Detector, by weiliu89/caffe, 2016

Definition at line 21 of file DistortionParameter.cs.

Constructor & Destructor Documentation

◆ DistortionParameter()

MyCaffe.param.ssd.DistortionParameter.DistortionParameter ( bool  bActive)

The constructor.

Parameters
bActiveSpecifies whether or not the parameter is active or not.

Definition at line 43 of file DistortionParameter.cs.

Member Function Documentation

◆ Clone()

DistortionParameter MyCaffe.param.ssd.DistortionParameter.Clone ( )

Return a clone of the object.

Returns
A new copy of the object is returned.

Definition at line 189 of file DistortionParameter.cs.

◆ Copy()

override void MyCaffe.param.ssd.DistortionParameter.Copy ( OptionalParameter  src)
virtual

Copy the object.

Parameters
srcThe copy is placed in this parameter.

Reimplemented from MyCaffe.param.OptionalParameter.

Definition at line 160 of file DistortionParameter.cs.

◆ FromProto()

static new DistortionParameter MyCaffe.param.ssd.DistortionParameter.FromProto ( RawProto  rp)
static

Parses the parameter from a RawProto.

Parameters
rpSpecifies the RawProto to parse.
Returns
A new instance of the parameter is returned.

Definition at line 228 of file DistortionParameter.cs.

◆ ToProto()

override RawProto MyCaffe.param.ssd.DistortionParameter.ToProto ( string  strName)
virtual

Convert this object to a raw proto.

Parameters
strNameSpecifies the name of the proto.
Returns
The new proto is returned.

Reimplemented from MyCaffe.param.OptionalParameter.

Definition at line 201 of file DistortionParameter.cs.

Property Documentation

◆ brightness_delta

float MyCaffe.param.ssd.DistortionParameter.brightness_delta
getset

Get/set amount to add to the pixel values within [-delta,delta] (default = 0)

Definition at line 80 of file DistortionParameter.cs.

◆ brightness_prob

float MyCaffe.param.ssd.DistortionParameter.brightness_prob
getset

Get/set probability of adjusting the brightness (default = 0).

Definition at line 70 of file DistortionParameter.cs.

◆ contrast_lower

float MyCaffe.param.ssd.DistortionParameter.contrast_lower
getset

Get/set lower bound for random contrast factor (default = 0.5).

Definition at line 100 of file DistortionParameter.cs.

◆ contrast_prob

float MyCaffe.param.ssd.DistortionParameter.contrast_prob
getset

Get/set probability of adjusting the contrast (default = 0).

Definition at line 90 of file DistortionParameter.cs.

◆ contrast_upper

float MyCaffe.param.ssd.DistortionParameter.contrast_upper
getset

Get/set upper bound for random contrast factor (default = 1.5).

Definition at line 110 of file DistortionParameter.cs.

◆ random_order_prob

float MyCaffe.param.ssd.DistortionParameter.random_order_prob
getset

Get/set the probability of randomly ordering the image channels (default = 0).

Definition at line 150 of file DistortionParameter.cs.

◆ random_seed

long MyCaffe.param.ssd.DistortionParameter.random_seed
getset

Get/set the random seed (default = 0, only used when testing).

The random seed is only used when using the GPU version of distort image.

Definition at line 51 of file DistortionParameter.cs.

◆ saturation_lower

float MyCaffe.param.ssd.DistortionParameter.saturation_lower
getset

Get/set lower bound for random saturation factor (default = 0.5).

Definition at line 130 of file DistortionParameter.cs.

◆ saturation_prob

float MyCaffe.param.ssd.DistortionParameter.saturation_prob
getset

Get/set probability of adjusting the saturation (default = 0).

Definition at line 120 of file DistortionParameter.cs.

◆ saturation_upper

float MyCaffe.param.ssd.DistortionParameter.saturation_upper
getset

Get/set upper bound for random saturation factor (default = 1.5).

Definition at line 140 of file DistortionParameter.cs.

◆ use_gpu

bool MyCaffe.param.ssd.DistortionParameter.use_gpu
getset

Get/set whether or not to use the GPU for the distortion operations (default = true).

Definition at line 60 of file DistortionParameter.cs.


The documentation for this class was generated from the following file: