Commit Graph

3274 Commits

Author SHA1 Message Date
Stefan van der Walt b54b41bcb2 Use nearest neighbor interpolation and a gray-level color map for plotting feature matches 2014-03-20 18:08:56 +02:00
Stefan van der Walt 5db5b1899c Merge pull request #935 from neerajgangwar/fix-greycomatrix
Correctly calculate offsets in grey-level co-occurrence matrices
2014-03-18 18:18:55 +02:00
Neeraj Gangwar 7a164d274d minor changes in syntax in _glcm_loop method.
Using round in place of floor in _texture.pyx to calculate the pixel offset.
2014-03-17 09:53:09 +05:30
Stefan van der Walt 85bbd0c3be Merge pull request #938 from sciunto/draw
Ellipse should not return coordinates outside of the image (closes #832)
2014-03-16 22:45:12 +02:00
François Boulogne b3f0c1eb96 FIX bug #832 + testcase 2014-03-16 15:46:39 -04:00
François Boulogne 11725c9396 PEP8 2014-03-16 15:16:35 -04:00
François Boulogne 452fcdaba8 DOC: typo 2014-03-16 15:15:42 -04:00
François Boulogne 6093c55aa2 MIN: typo 2014-03-15 10:29:45 -04:00
François Boulogne 67b1335c15 remove '' around ValueError 2014-03-15 08:50:53 -04:00
François Boulogne c6e916d082 remove extra ) 2014-03-15 08:26:45 -04:00
François Boulogne a423bd15e6 MAINT: use asset_allclose instead of round 2014-03-15 07:58:01 -04:00
François Boulogne ee12ccff26 TEST: add unittest about ValueError 2014-03-15 07:47:05 -04:00
François Boulogne ced3f5656f DOC: specify range for step 2014-03-15 07:42:08 -04:00
François Boulogne cf7a184ba7 TEST: add test on step 2014-03-15 07:40:39 -04:00
François Boulogne 217b0aa697 MAINT: remove blank lines 2014-03-15 07:39:06 -04:00
Neeraj Gangwar f3a1a9ed7e corrected the formula to calculate the location of
offset pixel in _texture.pyx
2014-03-15 10:42:50 +05:30
François Boulogne 92b9ebc0e9 MAINT: remove 2 weird lines 2014-03-14 20:28:30 -04:00
Johannes Schönberger 944c9c6bde Merge pull request #882 from JDWarner/correct_mesh_orientation
Correct mesh orientation
2014-03-14 18:10:28 -04:00
Stefan van der Walt 9501c2dc25 Merge pull request #924 from ahojnnes/restoration
Move functions to restoration submodule
2014-03-14 23:03:01 +02:00
Josh Warner (Mac) 5ac910b0b8 FIX: correct other instance of np.linalg.norm, clarify comments 2014-03-14 14:15:45 -05:00
Stefan van der Walt 2df1af87ef Merge pull request #916 from neerajgangwar/master
Add loading from URL in novice module
2014-03-14 16:15:19 +02:00
Stefan van der Walt 8aea87acfd Merge pull request #923 from ahojnnes/doctests
Fix doctests
2014-03-14 15:45:53 +02:00
Stefan van der Walt 6b8a198f8d Merge pull request #915 from vighneshbirodkar/blob_det
Blob dection (LoG)
2014-03-14 12:21:39 +02:00
Josh Warner (Mac) 48ca44bf16 FIX: Slight speed decrease for backwards compatibility 2014-03-14 00:08:47 -05:00
Josh Warner (Mac) e9ac84b77c TST: Add unit test for mesh orientation correction. 2014-03-13 23:34:46 -05:00
Johannes Schönberger ef63523ab0 Move denoise functions to restoration submodule 2014-03-13 19:39:54 -04:00
Johannes Schönberger 107f1d607c Move phase unwrapping algorithms to restoration submodule 2014-03-13 18:50:39 -04:00
Johannes Schönberger 1f5ec3e8ed Improve function name in warp example 2014-03-13 18:40:08 -04:00
Johannes Schönberger ece0f30af3 Always Skip doctests which depend on Qt and are in the class doc string
The doc test skip directive modifies the __doc__ attribute, which is not
possible for new-stlye classes.
2014-03-13 18:29:54 -04:00
Johannes Schönberger f280e0b13e Fix regular grid doctest 2014-03-13 18:24:59 -04:00
Johannes Schönberger b6e7fc8624 Fix warp doctest and example 2014-03-13 18:24:34 -04:00
Neeraj Gangwar 1d133e5c17 made minor changes in syntax
1. merged is_url and file_or_url_context in one import statement
2. changed syntax to check if path is a URL. now more compact
2014-03-13 18:42:12 +05:30
Vighnesh Birodkar c92358706b typo 2014-03-13 03:22:30 +05:30
Neeraj Gangwar 0bfdda58e5 removed unnecessary imports from _novice.py 2014-03-12 17:55:54 +05:30
Neeraj Gangwar 7880453d42 changed the method of fetching images in Picture class
using file_or_url_context to get context and calling imread
and imghdr on returned context
2014-03-12 15:57:32 +05:30
Neeraj Gangwar dc85186e19 corrected syntax for error handling while fetching image from
a URL in class Picture
2014-03-12 13:05:53 +05:30
Neeraj Gangwar 70ca1495cb changed urlparse library from six.moves.urllib_parse
to six.moves.urllib.parse
2014-03-12 08:48:23 +05:30
Neeraj Gangwar 2f3bd464b8 added a dummy useragent in Picture class while fetching image
using URL.
2014-03-12 08:00:53 +05:30
Neeraj Gangwar 15893a3ed0 changed the method of checking if a string is URL
1. removed regex code which was used earlier to check if a string is
url. (regex code taken from django)
2. Now checking if a string starts with http(s) or ftp(s).
2014-03-12 00:29:19 +05:30
Neeraj Gangwar 654642c986 changed test url in example for the Picture(object) 2014-03-11 22:35:07 +05:30
Vighnesh Birodkar 5255b29f6e doc rectify 2014-03-11 22:29:03 +05:30
Vighnesh Birodkar 6e6b27bc86 doc changes 2014-03-11 22:24:08 +05:30
Vighnesh Birodkar 815b0226d4 removed print 2014-03-11 21:59:51 +05:30
Vighnesh Birodkar 806a52edd5 migrated from area to sigma 2014-03-11 21:55:09 +05:30
Neeraj Gangwar 1fd34b4751 added description and exmaple for new functionality
of fetching images of url
2014-03-11 21:53:47 +05:30
Neeraj Gangwar 9557c8dde1 added a functionality to fetch images from URL in _novice.py 2014-03-11 21:49:21 +05:30
Stefan van der Walt 4addbd7cda Merge pull request #890 from ahojnnes/matching
Implement missing max_distance parameter in match_descriptors
2014-03-11 17:25:17 +02:00
Johannes Schönberger 41eff635f7 Merge pull request #912 from cgohlke/patch-6
Fix TypeError: __class__ assignment: 'TestFlexibleMCP' object layout differs from 'UnboundSelf'
2014-03-11 07:41:07 -04:00
Johannes Schönberger a12bc45d44 Merge pull request #909 from cgohlke/patch-3
Fix test_novice.test_update_on_save failure on Windows
2014-03-11 07:15:11 -04:00
Johannes Schönberger bfd693cd43 Merge pull request #908 from cgohlke/patch-2
Define M_PI (not part of C89)
2014-03-11 07:14:00 -04:00