MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
Specifies the parameters for the DistortionParameter used with SSD. More...
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... | |
Specifies the parameters for the DistortionParameter used with SSD.
Definition at line 21 of file DistortionParameter.cs.
MyCaffe.param.ssd.DistortionParameter.DistortionParameter | ( | bool | bActive | ) |
The constructor.
bActive | Specifies whether or not the parameter is active or not. |
Definition at line 43 of file DistortionParameter.cs.
DistortionParameter MyCaffe.param.ssd.DistortionParameter.Clone | ( | ) |
Return a clone of the object.
Definition at line 189 of file DistortionParameter.cs.
|
virtual |
Copy the object.
src | The copy is placed in this parameter. |
Reimplemented from MyCaffe.param.OptionalParameter.
Definition at line 160 of file DistortionParameter.cs.
|
static |
Parses the parameter from a RawProto.
rp | Specifies the RawProto to parse. |
Definition at line 228 of file DistortionParameter.cs.
|
virtual |
Convert this object to a raw proto.
strName | Specifies the name of the proto. |
Reimplemented from MyCaffe.param.OptionalParameter.
Definition at line 201 of file DistortionParameter.cs.
|
getset |
Get/set amount to add to the pixel values within [-delta,delta] (default = 0)
Definition at line 80 of file DistortionParameter.cs.
|
getset |
Get/set probability of adjusting the brightness (default = 0).
Definition at line 70 of file DistortionParameter.cs.
|
getset |
Get/set lower bound for random contrast factor (default = 0.5).
Definition at line 100 of file DistortionParameter.cs.
|
getset |
Get/set probability of adjusting the contrast (default = 0).
Definition at line 90 of file DistortionParameter.cs.
|
getset |
Get/set upper bound for random contrast factor (default = 1.5).
Definition at line 110 of file DistortionParameter.cs.
|
getset |
Get/set the probability of randomly ordering the image channels (default = 0).
Definition at line 150 of file DistortionParameter.cs.
|
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.
|
getset |
Get/set lower bound for random saturation factor (default = 0.5).
Definition at line 130 of file DistortionParameter.cs.
|
getset |
Get/set probability of adjusting the saturation (default = 0).
Definition at line 120 of file DistortionParameter.cs.
|
getset |
Get/set upper bound for random saturation factor (default = 1.5).
Definition at line 140 of file DistortionParameter.cs.
|
getset |
Get/set whether or not to use the GPU for the distortion operations (default = true).
Definition at line 60 of file DistortionParameter.cs.