Method | Description | |
---|---|---|
AccumulateBackground ( Single>.Image |
Learns the background statisitics for one more frame.
|
|
Background ( int width, int height ) : System | ||
BackgroundDiff ( Single>.Image |
Segments an input image into foreground and background.
|
|
CreateModelsFromStats ( ) : void |
Creates a statistical model of the background if the model is not created.
|
|
ToString ( ) : String |
Method | Description | |
---|---|---|
SetHighThreshold ( float scale ) : void |
Sets the high threshold of the background model for each pixel. Any value above that threashold for a particular pixel is considered foreground. High threshold = average value + average absolute difference * scale
|
|
SetLowThreshold ( float scale ) : void |
Sets the low threshold of the background model for each pixel. Any value below that threashold for a particular pixel is considered foreground. Low threshold = average value - average absolute difference * scale
|
public AccumulateBackground ( Single>.Image |
||
image | Single>.Image | Image to be accumulated for learning background statistics. |
return | void |
public Background ( int width, int height ) : System | ||
width | int | |
height | int | |
return | System |
public BackgroundDiff ( Single>.Image |
||
image | Single>.Image | image of which the background needs to be subtracted. |
mask | Byte>.Image | a value of 255 in the mask means the pixel is foreground, and a /// value of 0 means the corresponding pixel is background. |
return | void |