MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.db.image.ParameterData Class Reference

The ParameterData class is used to save and retrieve parameter data. More...

Public Member Functions

 ParameterData (string strName, string strValue, double? dfVal=null, byte[] rgData=null, int nImageID=0, bool bOnlyAddNew=false, int nSrcId=0)
 The ParameterData constructor. More...
 
 ParameterData (string strName, int nImageID)
 The ParameterData constructor. More...
 

Properties

string Name [get]
 Returns the parameter name. More...
 
int SourceID [getset]
 Specifies the source ID that the images belong to. More...
 
bool OnlyAddNew [get]
 Returns whether or not to only add the parameter if it does not exist. More...
 
string Value [get]
 Returns the parameter value. More...
 
double? NumericValue [get]
 Returns the parameter numeric value. More...
 
byte[] Data [get]
 Returns the raw data associated with the parameter. More...
 
int ImageID [getset]
 When specified, returns the RawImage ID from which the parameter is to be queried or is associated, otherwise returns 0. More...
 

Detailed Description

The ParameterData class is used to save and retrieve parameter data.

Definition at line 5711 of file Database.cs.

Constructor & Destructor Documentation

◆ ParameterData() [1/2]

MyCaffe.db.image.ParameterData.ParameterData ( string  strName,
string  strValue,
double?  dfVal = null,
byte[]  rgData = null,
int  nImageID = 0,
bool  bOnlyAddNew = false,
int  nSrcId = 0 
)

The ParameterData constructor.

Parameters
strNameSpecifies the name of the parameter.
strValueSpecifies the value of the parameter.
dfValSpecifies the numeric value of the parameter (default = null).
rgDataSpecifies the raw data associated with the parameter (default = null).
nImageIDSpecifies a RawImage ID from which the parameter should be associated (default = 0).
bOnlyAddNewOptionally, specifies to only add new parameters (default = false).
nSrcIdOptionally, specifies the source ID of the images (default = 0).

Definition at line 5731 of file Database.cs.

◆ ParameterData() [2/2]

MyCaffe.db.image.ParameterData.ParameterData ( string  strName,
int  nImageID 
)

The ParameterData constructor.

Parameters
strNameSpecifies the name of the parameter.
nImageIDSpecifies a RawImage ID from which the parameter should be queried.

Definition at line 5747 of file Database.cs.

Property Documentation

◆ Data

byte [] MyCaffe.db.image.ParameterData.Data
get

Returns the raw data associated with the parameter.

Definition at line 5797 of file Database.cs.

◆ ImageID

int MyCaffe.db.image.ParameterData.ImageID
getset

When specified, returns the RawImage ID from which the parameter is to be queried or is associated, otherwise returns 0.

Definition at line 5805 of file Database.cs.

◆ Name

string MyCaffe.db.image.ParameterData.Name
get

Returns the parameter name.

Definition at line 5756 of file Database.cs.

◆ NumericValue

double? MyCaffe.db.image.ParameterData.NumericValue
get

Returns the parameter numeric value.

Definition at line 5789 of file Database.cs.

◆ OnlyAddNew

bool MyCaffe.db.image.ParameterData.OnlyAddNew
get

Returns whether or not to only add the parameter if it does not exist.

Definition at line 5773 of file Database.cs.

◆ SourceID

int MyCaffe.db.image.ParameterData.SourceID
getset

Specifies the source ID that the images belong to.

Definition at line 5764 of file Database.cs.

◆ Value

string MyCaffe.db.image.ParameterData.Value
get

Returns the parameter value.

Definition at line 5781 of file Database.cs.


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