Commit Graph
13 Commits
Author SHA1 Message Date
Neeraj Gangwar afb1510b92 added testcases for greycomatrix
for angles pi/4 and 3*pi/4
2014-03-25 11:25:15 +05:30
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
Neeraj Gangwar f3a1a9ed7e corrected the formula to calculate the location of
offset pixel in _texture.pyx
2014-03-15 10:42:50 +05:30
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
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
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