Package boofcv.factory.background
Class FactoryBackgroundModel
java.lang.Object
boofcv.factory.background.FactoryBackgroundModel
Factory for creating implementations of
BackgroundModelStationary and BackgroundModelMoving-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>>
BackgroundMovingBasic<T,Motion> movingBasic(ConfigBackgroundBasic config, Point2Transform2Model_F32<Motion> transform, ImageType<T> imageType) Creates an instance ofBackgroundMovingBasic.static <T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>>
BackgroundMovingGaussian<T,Motion> movingGaussian(ConfigBackgroundGaussian config, Point2Transform2Model_F32<Motion> transform, ImageType<T> imageType) Creates an instance ofBackgroundMovingGaussian.static <T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>>
BackgroundMovingGmm<T,Motion> movingGmm(@Nullable ConfigBackgroundGmm config, Point2Transform2Model_F32<Motion> transform, ImageType<T> imageType) Creates an instance ofBackgroundMovingGmm.static <T extends ImageBase<T>>
BackgroundStationaryBasic<T>stationaryBasic(ConfigBackgroundBasic config, ImageType<T> imageType) Creates an instance ofBackgroundMovingBasic.static <T extends ImageBase<T>>
BackgroundStationaryGaussian<T>stationaryGaussian(ConfigBackgroundGaussian config, ImageType<T> imageType) Creates an instance ofBackgroundStationaryGaussian.static <T extends ImageBase<T>>
BackgroundStationaryGmm<T>stationaryGmm(@Nullable ConfigBackgroundGmm config, ImageType<T> imageType) Creates an instance ofBackgroundStationaryGmm.
-
Constructor Details
-
FactoryBackgroundModel
public FactoryBackgroundModel()
-
-
Method Details
-
stationaryBasic
public static <T extends ImageBase<T>> BackgroundStationaryBasic<T> stationaryBasic(ConfigBackgroundBasic config, ImageType<T> imageType) Creates an instance ofBackgroundMovingBasic.- Parameters:
config- Configures the background modelimageType- Type of input image- Returns:
- new instance of the background model
-
movingBasic
public static <T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>> BackgroundMovingBasic<T,Motion> movingBasic(ConfigBackgroundBasic config, Point2Transform2Model_F32<Motion> transform, ImageType<T> imageType) Creates an instance ofBackgroundMovingBasic.- Parameters:
config- Configures the background modelimageType- Type of input image- Returns:
- new instance of the background model
-
stationaryGaussian
public static <T extends ImageBase<T>> BackgroundStationaryGaussian<T> stationaryGaussian(ConfigBackgroundGaussian config, ImageType<T> imageType) Creates an instance ofBackgroundStationaryGaussian.- Parameters:
config- Configures the background modelimageType- Type of input image- Returns:
- new instance of the background model
-
movingGaussian
public static <T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>> BackgroundMovingGaussian<T,Motion> movingGaussian(ConfigBackgroundGaussian config, Point2Transform2Model_F32<Motion> transform, ImageType<T> imageType) Creates an instance ofBackgroundMovingGaussian.- Parameters:
config- Configures the background modelimageType- Type of input image- Returns:
- new instance of the background model
-
stationaryGmm
public static <T extends ImageBase<T>> BackgroundStationaryGmm<T> stationaryGmm(@Nullable @Nullable ConfigBackgroundGmm config, ImageType<T> imageType) Creates an instance ofBackgroundStationaryGmm.- Parameters:
config- Configures the background modelimageType- Type of input image- Returns:
- new instance of the background model
-
movingGmm
public static <T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>> BackgroundMovingGmm<T,Motion> movingGmm(@Nullable @Nullable ConfigBackgroundGmm config, Point2Transform2Model_F32<Motion> transform, ImageType<T> imageType) Creates an instance ofBackgroundMovingGmm.- Parameters:
config- Configures the background modelimageType- Type of input image- Returns:
- new instance of the background model
-