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