Caculate the eigen images for the specific traning image
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
| C# |
|---|
public static void CalcEigenObjects( Image<Gray, byte>[] trainingImages, ref MCvTermCriteria termCrit, out Image<Gray, float>[] eigenImages, out Image<Gray, float> avg ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub CalcEigenObjects ( _ trainingImages As Image(Of Gray, Byte)(), _ ByRef termCrit As MCvTermCriteria, _ <OutAttribute> ByRef eigenImages As Image(Of Gray, Single)(), _ <OutAttribute> ByRef avg As Image(Of Gray, Single) _ ) |
| Visual C++ |
|---|
public: static void CalcEigenObjects( array<Image<Gray, unsigned char>^>^ trainingImages, MCvTermCriteria% termCrit, [OutAttribute] array<Image<Gray, float>^>^% eigenImages, [OutAttribute] Image<Gray, float>^% avg ) |
Parameters
- trainingImages
- Type: array<
Emgu.CV..::.Image<(Of <(Gray, Byte>)>)
>[]()[]
The images used for training
- termCrit
- Type:
Emgu.CV.Structure..::.MCvTermCriteria
%
The criteria for tranning
- eigenImages
- Type:
array<
Emgu.CV..::.Image<(Of <(Gray, Single>)>)
>[]()[]
%
The resulting eigen images
- avg
- Type:
Emgu.CV..::.Image<(Of <(Gray, Single>)>)
%
The resulting average image