Commit Graph

155 Commits

Author SHA1 Message Date
blink1073 5677dafe41 Move away from random.random in favor of random.rand 2014-07-19 18:18:23 -05:00
blink1073 35dcdd5315 Move random seed prior to first random() call 2014-07-06 07:49:36 -05:00
blink1073 5ef3f95d71 Add random seeds to tests per #1044 2014-07-05 12:49:42 -05:00
Johannes Schönberger 02e6ad6b71 Test 90deg rotation for similarity transform 2014-05-10 10:22:55 -04:00
Johannes Schönberger c3e13a9754 Test union of differing geometric transforms 2014-05-10 10:16:38 -04:00
Stefan van der Walt a9dcdc3713 Use safe_as_int to check provided output shape 2014-05-08 19:28:29 +02:00
Stefan van der Walt 4c7cd9bd65 Add unit test to catch non-integer output shape bug 2014-05-06 01:35:23 +02:00
Johannes Schönberger 21a99a39c3 Document params attribute for each class 2014-01-22 18:46:27 -05:00
Johannes Schönberger 9905ff218f Get rid of trailing underscore for params attribute 2014-01-22 18:39:35 -05:00
Johannes Schönberger c96088170b Use consistent params_ attribute across all estimators 2014-01-19 09:40:55 -05:00
Johannes Schönberger 0f2076fa61 Add tests for deprecated attributes 2014-01-19 09:40:54 -05:00
Johannes Schönberger b3d62afa28 Use public attribute for parameter values 2014-01-19 09:40:54 -05:00
Johannes Schönberger c53e98a3c6 Fix bug in inverse warping and add test case 2013-11-22 12:07:36 +01:00
Johannes Schönberger 396b686bab Add test case for invalid image dimensions 2013-11-22 11:59:07 +01:00
Johannes Schönberger da42c46ab4 Add matrix_transform function to namespace 2013-11-22 11:51:15 +01:00
Johannes Schönberger e159fa0e9d Add test case for estimate_transform 2013-11-22 11:48:32 +01:00
Johannes Schönberger 62f51e35a1 Add missing test coverage of polynomial tform 2013-11-22 11:45:51 +01:00
Johannes Schönberger bd240d9f92 Test scale determination for 0 rotation 2013-11-22 11:43:08 +01:00
Johannes Schönberger 4ba9eaa98b Test invalid input 2013-11-22 11:42:41 +01:00
Johannes Schönberger 0fb48a6153 Add test cases for abstract geometric base class 2013-11-22 11:38:25 +01:00
Johannes Schönberger 06a9c5da8a Add test case for union of heterogenous tform types 2013-11-22 11:34:32 +01:00
Johannes Schönberger f8a0fcbc2a Reduce runtime of radon test cases 2013-11-09 23:31:15 +01:00
Johannes Schönberger 6c67738808 Miscellaneous fixes and improvements 2013-10-12 14:13:10 +02:00
François Boulogne df2ee4d636 remove heapq 2013-10-12 14:09:52 +02:00
François Boulogne e27b798ffa FIX: handle correctly main axis def 2013-10-12 14:09:51 +02:00
François Boulogne 1a9d5bb4ca TEST: revert precision 2013-10-12 14:09:51 +02:00
François Boulogne 594a228a06 TEST: fix bad subs 2013-10-12 14:09:51 +02:00
François Boulogne 742699c570 TEST: fix precision 2013-10-12 14:09:51 +02:00
François Boulogne debd4d54d6 ENH: use heapq to select the best match 2013-10-12 14:09:51 +02:00
François Boulogne 7e970b18cd MAINT change HT return API 2013-10-12 14:09:51 +02:00
François Boulogne 7a1b1c28de FIX: fix angle convention 2013-10-12 14:09:51 +02:00
François Boulogne e9f3bd66ac TEST: fix mistake 2013-10-12 14:09:51 +02:00
cgohlke 4d46bc0912 TST: Fix ValueError: Buffer dtype mismatch, expected 'intp_t' but got 'long' 2013-10-10 21:51:56 -07:00
Johannes Schönberger 40f5e78353 Add support for matrix as inverse_map 2013-10-02 17:33:17 +02:00
Stefan van der Walt be14f0b28c Merge pull request #654 from josteinbf/radon-square-center
Define rotation axis center for Radon transforms with inverses.
2013-08-06 02:04:32 -07:00
Josh Warner a3bb1098d1 Merge pull request #632 from ahojnnes/local-blocks
Refactor N-dimensial array resampling and add additional functionality
2013-07-31 14:10:18 -07:00
Jostein Bø Fløystad 60444ee4d3 Radon transform: PEP8 fixes. 2013-07-13 20:32:15 +02:00
Jostein Bø Fløystad 462173a53a Radon transform: Include boundary in reconstruction circle.
A test criterion needed to be relaxed slightly to have tests still
passing. This is ok, as the reconstruction circle is now larger, meaning
larger errors should be expected. Moreover, the test in question uses
random data, and changing the seed causes greater changes in accuracy
than the amount the test criterion was relaxed by.
2013-07-13 20:32:15 +02:00
Jostein Bø Fløystad 643a1bc1f5 iradon: Add test for cubic interpolation. 2013-07-06 20:55:53 +02:00
Josh Warner 6edd707a1b Merge pull request #637 from sciunto/minorfix
STYLE : PEP8 + import fix in hough_transform tests
2013-07-06 11:06:48 -07:00
François Boulogne cf3efba3c1 use previous import 2013-07-06 16:12:09 +02:00
François Boulogne 2dfeab83df PEP8 + import 2013-07-06 13:49:01 +02:00
Johannes Schönberger c0a019eb12 Update test cases for block functions 2013-07-05 17:34:38 +02:00
Johannes Schönberger 04b14b42c9 Refactor local block functions and add additional functionality. 2013-07-05 17:34:38 +02:00
Jostein Bø Fløystad 06857d3b92 Radon tests: Check the correct error metric. 2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad a4870242b6 iradon_sart: Test clip functionality and add a test for it. 2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad dde4288865 test_radon_transform: Style fixes. 2013-07-05 13:14:39 +02:00
Jostein Bø Fløystad 116e1dd571 iradon_sart: Also test accuracy with a missing wedge. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad ace07a0b18 iradon_sart: Add test for order_angles_golden_ratio. 2013-07-05 13:14:38 +02:00
Jostein Bø Fløystad 1b620a0a12 Tests for iradon_sart: Robust path handling. 2013-07-05 13:14:38 +02:00