Commit Graph

3708 Commits

Author SHA1 Message Date
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
Johannes Schönberger 649a87f5db Merge pull request #910 from cgohlke/patch-4
Use os.pathsep to sepatate multiple ImageCollection load_pattern
2014-03-11 07:13:36 -04:00
Johannes Schönberger 6efb05f361 Merge pull request #911 from cgohlke/patch-5
Skip viewer tests if no Qt API is available
2014-03-11 07:13:03 -04:00
jaimefrio e6fc72011f BUG: wrong search for pivot in quicker_sort
This PR corrects an error in the search for the existence of a distinct
pivot for sorting in the `quicker_sort` routines. This could lead to
`quicker_sort` wrongly believing that all items in a subarray are equal and
hence require no sorting.

While this doesn't explain #835 and #902, it may be related.
2014-03-11 00:48:10 -07:00
cgohlke b06d160cb7 Fix TypeError: __class__ assignment: 'TestFlexibleMCP' object layout differs from 'UnboundSelf' 2014-03-10 23:40:14 -07:00
cgohlke 81805a530b Skip viewer tests if no Qt API is available 2014-03-10 23:10:13 -07:00
cgohlke 5403e7a61e Use os.pathsep to sepatate multiple ImageCollection load_pattern
The colon `:` does not work on Windows as it can be part of a path
2014-03-10 22:50:00 -07:00
cgohlke 534721126b Fix test_novice.test_update_on_save failure on Windows
On Windows, tempfile.NamedTemporaryFile() can not be opened a second time. See <http://docs.python.org/2/library/tempfile.html#tempfile.NamedTemporaryFile>
2014-03-10 22:22:02 -07:00
cgohlke 44f26ce9ee Define M_PI (not part of C89) 2014-03-10 20:57:33 -07:00
cgohlke a3067c572a Define M_PI (not part of C89) 2014-03-10 20:56:27 -07:00
cgohlke 2a930700d5 Fix ValueError: Buffer dtype mismatch, expected 'Py_ssize_t' but got 'long' on win-amd64 2014-03-10 20:51:43 -07:00
Vighnesh Birodkar a2438b6338 comments 2014-03-10 23:56:30 +05:30
Vighnesh Birodkar 47c5f1bda6 added test_blob_log 2014-03-10 23:33:33 +05:30
Vighnesh Birodkar a067485dec added blob_log 2014-03-10 22:58:37 +05:30
Stefan van der Walt 941a252257 Merge pull request #906 from ahojnnes/peak-fix
`peak_local_max`: fix docstring, add N-d tests
2014-03-10 15:51:21 +02:00
Johannes Schönberger cd13361b11 Add test case for 4D images 2014-03-10 08:21:50 -04:00
Johannes Schönberger 438784cdda Add test case for 3D images 2014-03-10 08:20:32 -04:00
Johannes Schönberger c815bd6030 Fix peak_local_max doc string 2014-03-10 08:11:53 -04:00
Vighnesh Birodkar 0f44e6f1ba added names in CONTRIBUTIRS.txt 2014-03-10 15:39:15 +05:30
Vighnesh Birodkar 7986714c5d rectified __all__ 2014-03-09 22:00:26 +05:30
Vighnesh Birodkar d6910ba9bf removed get_local_maxima, now using peak_local_max 2014-03-09 21:56:45 +05:30
Vighnesh Birodkar 579c3d5aa3 added get_local_maxima to feature 2014-03-06 13:04:09 +05:30
Vighnesh Birodkar 7681598380 changed params and functionality of get_local_maxima 2014-03-05 21:08:37 +05:30
Vighnesh Birodkar e449ce9870 Made get_local_maxima_3d public
It also takes connectivity as a paramater now
2014-03-05 15:37:10 +05:30
Vighnesh Birodkar 5a988fdae7 Changed formula, this improves detected size accuracy 2014-03-05 00:46:58 +05:30