Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in Stabilize #12

Open
lessthanoptimal opened this issue Jul 7, 2019 · 1 comment
Open

Crash in Stabilize #12

lessthanoptimal opened this issue Jul 7, 2019 · 1 comment

Comments

@lessthanoptimal
Copy link
Owner

lessthanoptimal commented Jul 7, 2019

BOOFCV-CONCURRENT true
BOOFCV-GIT-DATE 2019-07-04T17:02:34Z
BOOFCV-GIT-SHA 0cbbb5a7ae68dbb8eab2f4b5adeec331533af973
BOOFCV-VERSION 0.34
Resolution 320 x 240
java.lang.IllegalArgumentException: end must be more than start. 246 -> 240
	at boofcv.concurrency.BoofConcurrency.loopBlocks(BoofConcurrency.java:160)
	at boofcv.alg.distort.ImageDistortBasic_SB_MT.applyOnlyInside(ImageDistortBasic_SB_MT.java:96)
	at boofcv.alg.distort.ImageDistortBasic.apply(ImageDistortBasic.java:97)
	at boofcv.alg.sfm.d2.StitchingFromMotion2D.update(StitchingFromMotion2D.java:213)
	at boofcv.alg.sfm.d2.StitchingFromMotion2D.process(StitchingFromMotion2D.java:143)
	at org.boofcv.android.sfm.StabilizeDisplayActivity$PointProcessing.process(StabilizeDisplayActivity.java:197)
	at org.boofcv.android.sfm.StabilizeDisplayActivity$PointProcessing.process(StabilizeDisplayActivity.java:137)
	at org.boofcv.android.DemoCamera2Activity.processImage(DemoCamera2Activity.java:248)
	at boofcv.android.camera2.VisualizeCamera2Activity.processImageOuter(VisualizeCamera2Activity.java:396)
	at boofcv.android.camera2.VisualizeCamera2Activity.lambda$processFrame$0(VisualizeCamera2Activity.java:373)
	at boofcv.android.camera2.-$$Lambda$VisualizeCamera2Activity$T8G5xpDdSlcNLrSA-JCgWJEnXfQ.run(lambda)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:762)
@lessthanoptimal
Copy link
Owner Author

This could happen if an invalid region is feed to distort. In 0.36 distort has been modified to check to see if a valid range is specified. if not it does nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant