The IXImageDatabase interface defines the eneral interface to the in-memory image database.
More...
|
void | UpdateLabelBoosts (int nProjectId, int nSrcId) |
| Updates the label boosts for the images based on the label boosts set for the given project. More...
|
|
void | ResetQuery (int nDsID) |
| Reset the query for the given data set ID. More...
|
|
bool | Sort (int nSrcId, IMGDB_SORT method) |
| Sort the internal images. More...
|
|
int | CreateDatasetOranizedByTime (int nDsId) |
| Create a dynamic dataset organized by time from a pre-existing dataset. More...
|
|
bool | DeleteCreatedDataset (int nDsId) |
| Delete a dataset created with CreateDatasetOrganizedByTime. More...
|
|
void | DeleteAllCreatedDatasets () |
| Delete all datasets created with CreateDatasetOrganizedByTime.
|
|
void | DeleteLabelBoosts (int nProjectId, int nSrcId) |
| Delete all label boosts for a given data source associated with a given project. More...
|
|
void | AddLabelBoost (int nProjectId, int nSrcId, int nLabel, double dfBoost) |
| Add a label boost for a data source associated with a given project. More...
|
|
string | GetLabelBoostsAsTextFromProject (int nProjectId, int nSrcId) |
| Returns the label boosts as a text string for all boosted labels within a data source associated with a given project. More...
|
|
bool | LoadNextSet (string strEvtCancel) |
| When using a Load Limit that is greater than 0, this function loads the next set of images. More...
|
|
string | GetBoostQueryHitPercentsAsTextFromSourceName (string strSource) |
| Returns a string with the query hit percent for each boost (e.g. the percentage that each boost value has been queried). More...
|
|
string | GetLabelQueryHitPercentsAsTextFromSourceName (string strSource) |
| Returns a string with the query hit percent for each label (e.g. the percentage that each label has been queried). More...
|
|
string | GetLabelQueryEpocsAsTextFromSourceName (string strSource) |
| Returns a string with the query epoch counts for each label (e.g. the number of times all images with the label have been queried). More...
|
|
bool | ReloadImageSet (int nSrcId) |
| Reloads the images of a data source. More...
|
|
List< LabelDescriptor > | GetLabels (int nSrcId) |
| Returns a list of LabelDescriptors associated with the labels within a data source. More...
|
|
string | GetLabelName (int nSrcId, int nLabel) |
| Returns the text name of a given label within a data source. More...
|
|
void | SetLabelMapping (int nSrcId, LabelMapping map) |
| Sets the label mapping to the database for a given data source. More...
|
|
void | UpdateLabelMapping (int nSrcId, int nNewLabel, List< int > rgOriginalLabels) |
| Updates the label mapping in the database for a given data source. More...
|
|
void | ResetLabels (int nProjectId, int nSrcId) |
| Resets all labels within a data source, used by a project, to their original labels. More...
|
|
void | UpdateLabelCounts (int nProjectId, int nSrcId) |
| Updates the number of images of each label within a data source. More...
|
|
Dictionary< int, int > | LoadLabelCounts (int nSrcId) |
| Returns a label lookup of counts for a given data source. More...
|
|
string | GetLabelCountsAsTextFromSourceId (int nSrcId) |
| Returns a string with all label counts for a data source. More...
|
|
string | GetLabelCountsAsTextFromSourceName (string strSource) |
| Returns a string with all label counts for a data source. More...
|
|
void | SetConnection (ConnectInfo ci) |
| Set the database connection to use. More...
|
|
bool | InitializeWithDsName1 (SettingsCaffe s, string strDs, string strEvtCancel=null, PropertySet prop=null) |
| Initializes the image database. More...
|
|
bool | InitializeWithDs1 (SettingsCaffe s, DatasetDescriptor ds, string strEvtCancel=null, PropertySet prop=null) |
| Initializes the image database. More...
|
|
bool | InitializeWithDsId1 (SettingsCaffe s, int nDataSetID, string strEvtCancel=null, int nPadW=0, int nPadH=0, PropertySet prop=null) |
| Initializes the image database. More...
|
|
bool | LoadDatasetByID1 (int nDsId, string strEvtCancel=null) |
| Load another, 'secondary' dataset. More...
|
|
bool | LoadDatasetByName1 (string strDs, string strEvtCancel=null) |
| Load another, 'secondary' dataset. More...
|
|
void | CleanUp (int nDsId=0, bool bForce=false) |
| Releases the image database, and if this is the last instance using the in-memory database, frees all memory used. More...
|
|
DB_VERSION | GetVersion () |
| Returns the version of the MyCaffe Image Database being used. More...
|
|
bool | GetLoadItemDataCriteria () |
| Returns whether or not the item data criteria is loaded with each item.
|
|
bool | GetLoadItemDebugData () |
| Returns whether or not the item debug data is loaded with each item.
|
|
double | GetDatasetLoadedPercentByName (string strDataset, out double dfTraining, out double dfTesting) |
| Returns the percentage that a dataset is loaded into memory. More...
|
|
double | GetDatasetLoadedPercentById (int nDatasetID, out double dfTraining, out double dfTesting) |
| Returns the percentage that a dataset is loaded into memory. More...
|
|
int | GetItemCount (int nSrcId, string strFilterVal=null, int? nBoostVal=null, bool bBoostValIsExact=false) |
| Returns the number of items (e.g., images, or temporal items) in a given data source. More...
|
|
Tuple< DB_LABEL_SELECTION_METHOD, DB_ITEM_SELECTION_METHOD > | GetSelectionMethod () |
| Returns the label and image selection method used. More...
|
|
void | SetSelectionMethod (DB_LABEL_SELECTION_METHOD? lbl, DB_ITEM_SELECTION_METHOD? img) |
| Sets the label and image selection methods. More...
|
|
SourceDescriptor | GetSourceById (int nSrcId) |
| Returns the SourceDescriptor for a given data source ID. More...
|
|
SourceDescriptor | GetSourceByName (string strSrc) |
| Returns the SourceDescriptor for a given data source name. More...
|
|
string | GetSourceName (int nSrcId) |
| Returns a data source name given its ID. More...
|
|
int | GetSourceID (string strSrc) |
| Returns a data source ID given its name. More...
|
|
DatasetDescriptor | GetDatasetById (int nDsId) |
| Returns the DatasetDescriptor for a given data set ID. More...
|
|
DatasetDescriptor | GetDatasetByName (string strDs) |
| Returns the DatasetDescriptor for a given data set name. More...
|
|
string | GetDatasetName (int nDsId) |
| Returns a data set name given its ID. More...
|
|
int | GetDatasetID (string strDs) |
| Returns a data set ID given its name. More...
|
|
bool | ReloadDataset (int nDsId) |
| Reload a data set. More...
|
|
bool | UnloadDatasetByName (string strDataset) |
| The UnloadDataset function unloads a given dataset from memory. More...
|
|
bool | UnloadDatasetById (int nDatasetID) |
| The UnloadDataset function unloads a given dataset from memory. More...
|
|
SimpleDatum | QueryItem (int nSrcId, int nIdx, DB_LABEL_SELECTION_METHOD? labelSelectionOverride=null, DB_ITEM_SELECTION_METHOD? imageSelectionOverride=null, int? nLabel=null, bool bLoadDataCriteria=false, bool bLoadDebugData=false) |
| Query an image in a given data source. More...
|
|
List< SimpleDatum > | GetItemsFromIndex (int nSrcId, int nStartIdx, int nQueryCount=int.MaxValue, string strFilterVal=null, int? nBoostVal=null, bool bBoostValIsExact=false, bool bAttemptDirectLoad=false) |
| Returns the array of items (e.g., images or temporal items) in the item set, possibly filtered with the filtering parameters. More...
|
|
List< SimpleDatum > | GetItemsFromTime (int nSrcId, DateTime dtStart, int nQueryCount=int.MaxValue, string strFilterVal=null, int? nBoostVal=null, bool bBoostValIsExact=false) |
| Returns the array of items (e.g., images or temporal items) in the item set, possibly filtered with the filtering parameters. More...
|
|
List< SimpleDatum > | GetItems (int nSrcId, int[] rgIdx, string strFilterVal=null, int? nBoostVal=null, bool bBoostValIsExact=false) |
| Returns the array of items (e.g., images or temporal items) in the item set, possibly filtered with the filtering parameters. More...
|
|
SimpleDatum | GetItem (int nItemID, params int[] rgSrcId) |
| Get the item (e.g., image or temporal item) with a given Raw Item ID. More...
|
|
int | FindItemIndex (int nSrcId, DateTime dt, string strDescription) |
| Searches for the item (e.g., image or temporal item) index of an image within a data source matching a DateTime/description pattern. More...
|
|
SimpleDatum | QueryItemMean (int nSrcId) |
| Queries the item (e.g., image or temporal item) mean for a data source from the database on disk. More...
|
|
SimpleDatum | QueryItemMeanFromDb (int nSrcId) |
| Queries the item (e.g., image or temporal item) mean for a data source from the database on disk. More...
|
|
SimpleDatum | GetItemMean (int nSrcId) |
| Returns the item (e.g., image or temporal item) mean for a data source. More...
|
|
SimpleDatum | QueryItemMeanFromDataset (int nDatasetId) |
| Returns the item (e.g., image or temporal item) mean for the Training data source of a given data set. More...
|
|
The IXImageDatabase interface defines the eneral interface to the in-memory image database.
Definition at line 1003 of file Interfaces.cs.