use of boofcv.alg.background.stationary.GenericBackgroundStationaryGmmChecks in project BoofCV by lessthanoptimal.
the class GenericBackgroundMovingGmmChecks method performStationaryTests.
@Test
void performStationaryTests() {
GenericBackgroundStationaryGmmChecks stationary = new GenericBackgroundStationaryGmmChecks() {
@Override
public BackgroundModelStationary create(ImageType imageType) {
BackgroundModelMoving moving = GenericBackgroundMovingGmmChecks.this.create(imageType);
return new MovingToStationary((BackgroundMovingGmm) moving, new Homography2D_F32());
}
};
stationary.initialVariance();
stationary.learnRate();
stationary.checkBandsUsed();
}
Aggregations