boofcv.alg.background.moving
Class BackgroundMovingBasic_PL<T extends ImageGray,Motion extends InvertibleTransform<Motion>>
- java.lang.Object
-
- boofcv.alg.background.BackgroundModel<T>
-
- boofcv.alg.background.BackgroundModelMoving<T,Motion>
-
- boofcv.alg.background.moving.BackgroundMovingBasic<Planar<T>,Motion>
-
- boofcv.alg.background.moving.BackgroundMovingBasic_PL<T,Motion>
-
- All Implemented Interfaces:
- BackgroundAlgorithmBasic
public class BackgroundMovingBasic_PL<T extends ImageGray,Motion extends InvertibleTransform<Motion>> extends BackgroundMovingBasic<Planar<T>,Motion>
Implementation ofBackgroundMovingBasicforPlanar.
-
-
Constructor Summary
Constructors Constructor and Description BackgroundMovingBasic_PL(float learnRate, float threshold, PointTransformModel_F32<Motion> transform, TypeInterpolate interpType, ImageType<Planar<T>> imageType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Planar<GrayF32>getBackground()Returns the background image.voidinitialize(int backgroundWidth, int backgroundHeight, Motion homeToWorld)Initializes background model.voidreset()Resets model to its original state-
Methods inherited from class boofcv.alg.background.moving.BackgroundMovingBasic
getLearnRate, getThreshold, setLearnRate, setThreshold
-
Methods inherited from class boofcv.alg.background.BackgroundModelMoving
segment, updateBackground
-
Methods inherited from class boofcv.alg.background.BackgroundModel
getImageType, getUnknownValue, setUnknownValue
-
-
-
-
Constructor Detail
-
BackgroundMovingBasic_PL
public BackgroundMovingBasic_PL(float learnRate, float threshold, PointTransformModel_F32<Motion> transform, TypeInterpolate interpType, ImageType<Planar<T>> imageType)
-
-
Method Detail
-
getBackground
public Planar<GrayF32> getBackground()
Returns the background image. Pixels which haven't been assigned yet are marked withFloat.MAX_VALUE.- Returns:
- background image.
-
initialize
public void initialize(int backgroundWidth, int backgroundHeight, Motion homeToWorld)Description copied from class:BackgroundModelMovingInitializes background model. Specifies the size of the background image and transform from the "home" image to the background "world"- Specified by:
initializein classBackgroundModelMoving<Planar<T extends ImageGray>,Motion extends InvertibleTransform<Motion>>- Parameters:
backgroundWidth- Width of backgroundbackgroundHeight- Height of backgroundhomeToWorld- Transform from home to world.
-
reset
public void reset()
Description copied from class:BackgroundModelResets model to its original state- Specified by:
resetin classBackgroundModel<Planar<T extends ImageGray>>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG