ClassifierFactorySamplesPerImage Property

CVB.Net Documentation
Defines how many samples should be used per sample inside the SampleImageList during classifier generation. Setting this property to a value > 1 will lead to additional temporary images being generated during the learning phase based on the settings of the properties InstanceGeneration, Symmetries, RotationRange and TranslationRange.

Namespace:  Stemmer.Cvb.Manto
Assembly:  Stemmer.Cvb.Manto (in Stemmer.Cvb.Manto.dll) Version: 14.0.0.0
Syntax

public int SamplesPerImage { get; set; }

Property Value

Type: Int32
Exceptions

ExceptionCondition
ArgumentExceptionwhen trying to set a value less than 1
Remarks

Note that for each additional image beyond 1 being used, the amount of memory required during the learning learnStage will effectively be incremented by the the size of one Image List. Or, to put it differently, if 5 samples per image are being used, Manto will need five times the amount of memory (and time) it would take to learn the classifier compared to the use of only 1 sample per image. This consumption multiplies with the requirement generated by the setting of the Symmetries property. SamplesPerImage and Symmetries should therefore be used with caution as you can easily generate a situation where the classifier can no longer be generated from the Image List because Manto runs out of memory during the learning phase.
See Also

Reference