public abstract class BackgroundModel<T extends boofcv.struct.image.ImageBase>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boofcv.struct.image.ImageType<T> |
imageType |
protected byte |
unknownValue |
| Constructor and Description |
|---|
BackgroundModel(boofcv.struct.image.ImageType<T> imageType) |
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.ImageType<T> |
getImageType()
Type of input image it can process
|
int |
getUnknownValue()
Returns the value that pixels in the segmented image are assigned if there is no background information.
|
abstract void |
reset()
Resets model to its original state
|
void |
setUnknownValue(int unknownValue)
Specify the value of a segmented pixel which has no corresponding pixel in the background image.
|
protected boofcv.struct.image.ImageType<T extends boofcv.struct.image.ImageBase> imageType
protected byte unknownValue
public BackgroundModel(boofcv.struct.image.ImageType<T> imageType)
public abstract void reset()
public int getUnknownValue()
public void setUnknownValue(int unknownValue)
unknownValue - Value for pixels with out a background pixel. 2 to 255, inclusive.public boofcv.struct.image.ImageType<T> getImageType()