Method | Description | |
---|---|---|
CalcEigenObjects ( Byte>.Image |
Caculate the eigen images for the specific traning image
|
|
EigenDecomposite ( Byte>.Image |
Decompose the image as eigen values, using the specific eigen vectors
|
|
EigenObjectRecognizer ( Byte>.Image |
Create an object recognizer using the specific tranning data and parameters, it will always return the most similar object
|
|
EigenObjectRecognizer ( Byte>.Image |
Create an object recognizer using the specific tranning data and parameters, it will always return the most similar object
|
|
EigenObjectRecognizer ( Byte>.Image |
Create an object recognizer using the specific tranning data and parameters
|
|
EigenProjection ( float eigenValue ) : Byte>.Image |
Given the eigen value, reconstruct the projected image
|
|
GetEigenDistances ( Byte>.Image |
Get the Euclidean eigen-distance between image and every other image in the database
|
|
Recognize ( Byte>.Image |
Try to recognize the image and return its label
|
Method | Description | |
---|---|---|
EigenObjectRecognizer ( ) : System | ||
GenerateLabels ( int size ) : String[] |
public static CalcEigenObjects ( Byte>.Image |
||
trainingImages | Byte>.Image | The images used for training |
termCrit | The criteria for tranning | |
eigenImages | Single>.Image | The resulting eigen images |
avg | Single>.Image | The resulting average image |
return | void |
public static EigenDecomposite ( Byte>.Image |
||
src | Byte>.Image | The image to be decomposed |
eigenImages | Single>.Image | The eigen images |
avg | Single>.Image | The average images |
return | float[] |
public EigenObjectRecognizer ( Byte>.Image |
||
images | Byte>.Image | The images used for training, each of them should be the same size. It's recommended the images are histogram normalized |
termCrit | The criteria for recognizer training | |
return | System |
public EigenObjectRecognizer ( Byte>.Image |
||
images | Byte>.Image | The images used for training, each of them should be the same size. It's recommended the images are histogram normalized |
labels | String | The labels corresponding to the images |
termCrit | The criteria for recognizer training | |
return | System |
public EigenObjectRecognizer ( Byte>.Image |
||
images | Byte>.Image | The images used for training, each of them should be the same size. It's recommended the images are histogram normalized |
labels | String | The labels corresponding to the images |
eigenDistanceThreshold | double | /// The eigen distance threshold, (0, ~1000]. /// The smaller the number, the more likely an examined image will be treated as unrecognized object. /// If the threshold is < 0, the recognizer will always treated the examined image as one of the known object. /// |
termCrit | The criteria for recognizer training | |
return | System |
public EigenProjection ( float eigenValue ) : Byte>.Image |
||
eigenValue | float | The eigen values |
return | Byte>.Image |
public GetEigenDistances ( Byte>.Image |
||
image | Byte>.Image | The image to be compared from the training images |
return | float[] |
public Recognize ( Byte>.Image |
||
image | Byte>.Image | The image to be recognized |
return | RecognitionResult |