Commit Graph
22 Commits
Author SHA1 Message Date
Johannes Schönberger 47a4418140 Use np.inf instead of float('inf') 2015-03-08 19:37:53 -04:00
Johannes Schönberger eb6c3ede38 Fix RANSAC for invalid model estimation and confidence corner case
Previously, estimators did not return whether the model estimation
was successful. RANSAC now tests whether the estimation was
successful and skips invalid models.

When the confidence/stop_probability of RANSAC was set to 1,
the iteration was falsely terminated early instead of running for
the maximum number of iterations.
2015-03-06 23:47:08 -05:00
Johannes Schönberger ad85dfabd5 Disable catch of all warnings, return nan params instead 2015-01-22 06:49:16 -05:00
Johannes Schönberger acf68c6d7c Add new parameter to catch exceptions during RANSAC 2015-01-21 14:10:09 -05:00
Steven Silvester c0a0490eed Fix handling of multiple warnings and update tests
Fix handling of multiple warnings

Update all test __init__ files

Update segmentation pkg

Update the color pkg

Update the exposure pkg

Update the filters pkg

Update the io pkg

Update the measure pkg

Update morphology package

Restructure test setup function

Add expected_warnings to __all__

Update restoration pkg.

Remove explicit filter check since it is done elsewhere

Fix the image test helpers

Update the transform pkg

Fix util pkg

Update viewer pkg
2014-12-23 16:51:06 -06:00
Steven Silvester 2756358f3c Clean up PIL plugin and handle more warnings
Use the pil plugin to load data files

Fix install_requires string formatting

Dead end commit

Make all tools executable

Remove debug print

Suppress PIL resourcewarnings

Handle a few more warnings
2014-12-23 16:48:38 -06:00
Johannes Schönberger eba3d75fa9 Add sanity checks for input parameters 2014-09-28 18:43:32 -04:00
Johannes Schönberger be5d4b19ec Add stop_probability to RANSAC 2014-09-28 18:38:35 -04:00
Johannes Schönberger 9905ff218f Get rid of trailing underscore for params attribute 2014-01-22 18:39:35 -05:00
Johannes Schönberger c262ad2d44 Use public attribute for parameter values 2014-01-19 09:40:42 -05:00
Johannes Schönberger 4d6308c810 Fix error in line model test 2013-11-22 13:28:53 +01:00
Johannes Schönberger 2e8a36a283 Rename test to enable hidden line model test 2013-11-22 12:11:47 +01:00
Johannes Schönberger 219d621725 Set random seed to avoid random test failures 2013-05-06 18:34:34 +02:00
Johannes Schönberger 01124f5bcc Use boolean mask for inlier return value of RANSAC 2013-05-06 18:08:21 +02:00
Johannes Schönberger 785e602aba Fix last remaining PEP8 errors 2013-05-06 15:32:33 +02:00
Johannes Schönberger 231596b351 Add test cases for residuals 2013-05-06 12:08:12 +02:00
Johannes Schönberger 434eb48620 Add test case for underdetermined LineModel estimation 2013-05-06 11:51:20 +02:00
Johannes Schönberger c8fa3b48e5 Replace is_degenerate tests with is_data_valid and is_model_valid tests 2013-05-02 18:30:08 +02:00
Johannes Schönberger 82566157f6 Add test case for ransac applied to geometric transform 2013-05-02 18:30:07 +02:00
Johannes Schönberger 80827d3959 Add test case for ransac algorithm 2013-05-02 18:30:07 +02:00
Johannes Schönberger e880f155a9 Add test cases for circle model 2013-05-02 18:30:07 +02:00
Johannes Schönberger 53b7e6e418 Add test cases for line model 2013-05-02 18:30:07 +02:00