Commit Graph

547 Commits

Author SHA1 Message Date
Julian Taylor 87c72ae60f BUG: add signed flag to chars
Sign of char is undefined and there are numerous places where its sign
is important. Fixes tests with -funsigned-char.
Closes gh-1110
2014-09-05 23:51:39 +02:00
Julien Coste 23a6f0af6c remove auto added __author__ in __init__.py file 2014-08-31 11:00:16 +01:00
Julien Coste 8a337dbe46 Move canny from filter to feature 2014-08-31 10:55:12 +01:00
Pablo Márquez Neila 64e20d8173 Minor fix 2014-08-18 02:47:29 +02:00
Pablo Márquez Neila 808e53c7ae Code valid for all image dtypes 2014-08-18 02:12:27 +02:00
Pablo Márquez Neila 23bc3ed077 Replaced convolve1d by ad-hoc gradient computation 2014-08-18 01:34:54 +02:00
Pablo Márquez Neila a52cb01a49 Fix bugs in HOG 2014-08-17 22:09:03 +02:00
blink1073 b6dcf3c336 Update Travis build to use Anaconda.
Update Travis build to use Anaconda

Travis updates and fixes

More travis fixes

Another travis attempt

Revert changes

Use PIL and Pillow

Refactor travis into 4 different builds

Fix activation error

Remove explicit mpl in build_versions.py

Make matplotlib an explicit requirement

Rearrange travis

Make pillow a hard requirement

Try again to make Pillow optional

Fix bash syntax error

Fix bash syntax error

Bump required cython version

More rearrangments

Remove mpl from build_versions, rearrange travis

Fix version check

Make matplotlib explicit again

Conda install into test env

Check for proper install

Allow tests to skip if networkx is not available

Allow tests to skip if networkx is not available

Try swapping pillow for matplotlib

Allow tests to pass when matplotlib is not present

Remove matplotlib from build_versions

Print PIL version

Get pillow from PIP

Allow tests to skip if matplotlib is not present.

Allow tests to skip if networkx is not present.

travis fix

Remove unused mpl import that caused test error

Use nose-cov and do not run doctests without optional libs

Bump required numpy version and fix nose calls

Make overlay test repeatable

bump numpy version again

Move low-end numpy to python 2.7

Play with minimum versions

Add version requirements and use functions

Add version requirements and use functions

Allow require to skip a test

More implementation of require decorator

Update require decorator and clean up tests

Only use requires decorator when needed

Fix python3 error in version_requirements

Fix build errors

Fix handling of require with tests

More fixes for require handler

Use latest miniconda

Fix more build errors

Fix another dict comprehension and travis file.

Fix missing imports

Fix dictionary again

Fix import warning

Fix last failing test on 2.6

Skip doc examples on python2.6

Do not run doctests on python2.6

Fix typo in travis.yml

Make numpy-1.6 compatibility changes

Use numpy-1.6 in travis python2.6

Add tests for version requirements

Fix line noise in PR

Add additional io plugins

Fix simpleitk test.

Fix python 3 error in freeimage_plugin.

Install imread in Travis.

Put matplotlib settings in XDG recommended directory

Fix formatting in travis yml

Fix formatting in travis yml

Make sure to close PIL file atexit

Fix name of apt package xcftools

Fix pil fp closing

Fix matplotlibrc creation

Only download SimpleITK on py2x, run coverage on py27

Fix travis yml syntax error

Run coveralls on py2.7

Install SimpleITK on py3.3 and run coverage on py3.3

Make simpleitk install quiet

Use standard nose and clean up incantation

Fix travis yml syntax error

Put in miniconda workout for libc error.

Fix imread plugin.

Fix travis syntax

Remove unused import

Remove miniconda libpng in favor of system png

Fix imread install and move libm removal to after optional pkg install.

Fix png header copy in travis yml

Another attempt to use png headers

Debug freeimage

Add jpeg library for freeimage and debug imread.

More debug for imread and freeimage

More freeimage and imread debugging

More debugging

Use correct paths for test env

Make sure imread is tied to libpng15

Add a TODO note for simpleitk test causing error.

Fix typo in yml

Cleanup and add more comments to travis yml

Update comment

Try and add 3.2 support.

Docstring formatting

Add more travis comments.

Try numpy 1.6 on python 2.7

Fix travis syntax error

Rename CONDA to ENV for clarity

Alias python on python 3.2

Use python 3.2 as the system python

Clean up libfreeimage install

Fix order on py3.2 pre_install

Move old numpy back to py26

Use the appropriate python calls.

Debug 3.2 build.

Update comment

Fix syntax error

Another fix for syntax error.

Install scipy after downloading import tools

More debugging for py32

Do not install conda on py3.2 (duh)

Fix typo in travis yml

Fix py32 qt install, separate pyfits and imread to find error

Fix syntax error and front-load option lib check for debug

pyfits is not supported in py3.2, try imread now

imread is also not supported on py3.2

install imread before pyfits to show relationship with libs

Make pip builds quiet

Minor formatting to retrigger build

Allow simpleitk to fail to download without breaking the build

Use travis_retry for SimpleITK

See what breaks when we keep libm in

Now remove libm again
2014-08-02 06:47:09 -05:00
blink1073 caaf75ebd1 Fix failing doctests 2014-07-19 19:16:46 -05:00
blink1073 5677dafe41 Move away from random.random in favor of random.rand 2014-07-19 18:18:23 -05:00
blink1073 5ef3f95d71 Add random seeds to tests per #1044 2014-07-05 12:49:42 -05:00
Stefan van der Walt 5b07567973 Merge pull request #1005 from JDWarner/int_idx_patch
Fix NumPy non-integer indexing deprecation warnings
2014-05-13 17:48:11 +02:00
Johannes Schönberger da2ddb6123 Improve description of subpixel corner localization 2014-05-12 14:42:50 -04:00
Johannes Schönberger 7ec58dcaed Comment special case when local patch around is constant 2014-05-11 18:21:09 -04:00
Johannes Schönberger 7b86728498 Add full test coverage for corner_subpix and fix bug 2014-05-10 10:12:41 -04:00
Josh Warner (Mac) 375e406f64 Use safe_as_int for input checking. 2014-05-08 19:56:47 -05:00
Josh Warner (Mac) 1ca0eef825 FIX: Non-integer indexing deprecation warnings 2014-05-08 00:39:54 -05:00
Vighnesh Birodkar 4d11868c76 removed blanklines in doc strings 2014-04-11 13:08:25 +05:30
Vighnesh Birodkar 848a0f5fbe removed whitespaces 2014-04-10 21:03:37 +05:30
Vighnesh Birodkar 5658704a35 changed parameter of hessian_matrix_det 2014-04-10 19:54:49 +05:30
Vighnesh Birodkar a4a939e74b improved test coverage 2014-04-09 23:19:25 +05:30
Vighnesh Birodkar a66f2a0b37 extra line and spelling mistake 2014-04-09 20:30:33 +05:30
Vighnesh Birodkar 7a4401e262 doc string change 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar e818a42fba moved public interface of hessian determinant to corner.py 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar 61a8a78657 made hessian_det_appx public 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar a15c5fac87 indexing 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar 1b2ca1145b doc test 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar fbf40b0ae7 corrections to cython file, switched dtype to double 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar 630136ae91 added full paper desc. 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar d5f9ebfc8f minor doc changes 2014-04-09 10:33:24 +05:30
Vighnesh Birodkar 507a2159b9 notes change 2014-04-09 10:27:53 +05:30
Vighnesh Birodkar 2e441b2e5b tests and minor corrections 2014-04-09 10:27:53 +05:30
Vighnesh Birodkar a4029c0e71 removed print 2014-04-09 10:27:53 +05:30
Vighnesh Birodkar cca0c74cf7 added python call and doc strings 2014-04-09 10:27:53 +05:30
Vighnesh Birodkar d58cab146f pep8 cython file 2014-04-09 10:27:53 +05:30
Vighnesh Birodkar 2781d30bb7 doc strings 2014-04-09 10:27:53 +05:30
Vighnesh Birodkar 448c4114ae made methods private 2014-04-09 10:27:53 +05:30
Vighnesh Birodkar f456245d57 added cython file 2014-04-09 10:27:53 +05:30
Stefan van der Walt e25e11d3b4 Fix parameter documentation in corner_peaks (closes #901) 2014-04-07 14:25:18 +02:00
Stefan van der Walt 2c5d19f368 Merge pull request #955 from neerajgangwar/add-test-greycomatrix
Add test cases for greycomatrix
2014-04-07 14:02:18 +02:00
Pietro Berkes 109efc5d0a No need to take the center of the results twice. 2014-04-01 21:28:12 +01:00
Pietro Berkes 1fbed8a8d0 Fix random seed for test stability. 2014-04-01 21:10:04 +01:00
Pietro Berkes 1a909cbc79 Fix LBP variance calculation. 2014-04-01 21:06:15 +01:00
Neeraj Gangwar afb1510b92 added testcases for greycomatrix
for angles pi/4 and 3*pi/4
2014-03-25 11:25:15 +05:30
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
Neeraj Gangwar f3a1a9ed7e corrected the formula to calculate the location of
offset pixel in _texture.pyx
2014-03-15 10:42:50 +05:30
Stefan van der Walt 6b8a198f8d Merge pull request #915 from vighneshbirodkar/blob_det
Blob dection (LoG)
2014-03-14 12:21:39 +02:00
Vighnesh Birodkar c92358706b typo 2014-03-13 03:22:30 +05:30