CVB++ 14.0
Cvb::SampleDatabase Namespace Reference

Namespace for the SampleDatabase package. More...

Classes

class  Fringes
 Object describing the fringes that are available around images in a sample image list. More...
 
class  ImageClassificationInfoCollection
 Collection of class information inside a classification sample list. More...
 
class  ImageClassificationLabelInfo
 Classification label information. More...
 
class  ImageCollection
 Collection of image samples. More...
 
class  ImageRegressionInfoCollection
 Collection of regression information inside a regression sample list. More...
 
class  ImageRegressionLabelInfo
 Regression label information. More...
 
class  LabelInfoCollection
 Information collection for class labels. More...
 
class  SampleClassificationImageList
 Classifier type that operates on images. More...
 
class  SampleCollection
 Collection of data samples. More...
 
class  SampleImageList
 Classifier type that operates on images. More...
 
class  SampleList
 Base class for sample lists. More...
 
class  SampleListImageDataType
 Descriptor for image data to be digested by an image list. More...
 
class  SampleRegressionImageList
 Classifier type that operates on images. More...
 

Typedefs

using SampleClassificationImageListPtr = std::shared_ptr< SampleClassificationImageList >
 Convenience shared pointer for SampleClassificationImageList.
 
using SampleRegressionImageListPtr = std::shared_ptr< SampleRegressionImageList >
 Convenience shared pointer for SampleRegressionImageList.
 
using SampleImageListPtr = std::shared_ptr< SampleImageList >
 Convenience shared pointer for SampleImageList.
 
typedef std::function< String(const String &labelIn)> LabelTransformStringToString
 Callback for label transformation. More...
 
typedef std::function< std::vector< float >(const String &labelIn)> LabelTransformStringToVector
 Callback for label transformation. More...
 
typedef std::function< std::vector< float >(const std::vector< float > &labelIn)> LabelTransformVectorToVector
 Callback for label transformation. More...
 
typedef std::function< String(const std::vector< float > &labelIn)> LabelTransformVectorToString
 Callback for label transformation. More...
 
typedef std::function< std::unique_ptr< Image >(const Image &imgIn)> DataTransformImageToImage
 Image data transformation callback. More...
 
using SampleListPtr = std::shared_ptr< SampleList >
 Convenience shared pointer for SampleList.
 
using SampleListImageDataTypePtr = std::shared_ptr< SampleListImageDataType >
 Convenience shared pointer for SampleListImageDataType.
 

Enumerations

enum class  SampleExtractionMode { TopLeftCorner , OriginPosition }
 Possible approaches to the sample extraction in the "Add" methods of image list classes. More...
 

Detailed Description

Namespace for the SampleDatabase package.

Remarks
CMake users: Link to imported target CVB::CvbSampleDatabase

Typedef Documentation

◆ DataTransformImageToImage

Image data transformation callback.

Parameters
[in]imgInImage to be transformed.
Returns
Transformed image.
Exceptions
Doesnot throw any exception.

◆ LabelTransformStringToString

Callback for label transformation.

Parameters
[in]labelInLabel to be transformed.
Returns
Transformed label.
Exceptions
Doesnot throw any exception.

◆ LabelTransformStringToVector

Callback for label transformation.

Parameters
[in]labelInLabel to be transformed.
Returns
Transformed label.
Exceptions
Doesnot throw any exception.

◆ LabelTransformVectorToString

Callback for label transformation.

Parameters
[in]labelInLabel to be transformed.
Returns
Transformed label.
Exceptions
Doesnot throw any exception.

◆ LabelTransformVectorToVector

typedef std::function<std::vector<float>(const std::vector<float> &labelIn)> LabelTransformVectorToVector

Callback for label transformation.

Parameters
[in]labelInLabel to be transformed.
Returns
Transformed label.
Exceptions
Doesnot throw any exception.

Enumeration Type Documentation

◆ SampleExtractionMode

enum class SampleExtractionMode
strong

Possible approaches to the sample extraction in the "Add" methods of image list classes.

Enumerator
TopLeftCorner 

Position parameter is assumed to refer to the top left corner of the feature window.

OriginPosition 

Position parameter is assumed to refer to the origin of the feature window.