Johannes Schönberger
a87779b650
fix num_peaks parameter bug in peak_local_max
2012-08-10 20:45:50 +02:00
tonysyu
8b544f2f69
Merge pull request #230 from dharhas/dharhas-lab-color-space
...
xyz <--> lab color space conversions
2012-08-01 07:02:38 -07:00
Andreas Mueller
f74ca8685b
MISC minor cleanup in doctests / examples
2012-07-31 22:00:32 +01:00
Dharhas Pothina
b54817c5b3
minor cleanup of comments & move ref_white to global lab_ref_white
2012-07-30 10:07:33 -05:00
Andreas Mueller
3448e419b3
ENH slight cleanup, fixed *1000 bug, added test and rgb2lab convenience.
2012-07-26 22:44:02 +01:00
Brian Holt
f3024fc4cd
simplified hog code + extra unit test
2012-07-24 10:52:55 +01:00
tonysyu
71a518c8cf
Merge pull request #226 from jni/jni-alphanumeric-sort
...
Sort files from a global pattern alphanumerically
2012-07-22 21:28:38 -07:00
Dharhas Pothina
8cd912a894
tests added for xyz2lab and lab2xyz
2012-07-21 09:10:05 -05:00
Stefan van der Walt
149ad7e7a6
Merge pull request #219 from wilsaj/remove-nose-message
...
BUG: Remove message about not being able to load nose; fixes #218 .
2012-07-20 23:32:21 -07:00
Juan Nunez-Iglesias
9cbf2ef369
Simplify alphanumeric_key logic
...
Thanks to Tony Yu for the suggestion.
2012-07-21 00:51:55 -05:00
Dharhas Pothina
fedad0d826
fixed array being modified in place. lab2xyz working
2012-07-20 18:45:56 -05:00
tonysyu
d615235f07
Merge pull request #227 from thewtex/thresholding_failures_2
...
BUG: Fix OTSU thresholding tests with matplotlib IO plugin.
2012-07-20 16:37:57 -07:00
Matt McCormick
67eb914ef6
TST: Add buffer for threshold tests.
...
In case conversion from float to integer is imprecise.
2012-07-20 19:09:05 -04:00
Stefan van der Walt
1b89ae8dbf
Merge pull request #228 from thewtex/color_numpy_warnings
...
BUG: Ignore division by zero where appropriate in colorconv.
2012-07-20 16:06:38 -07:00
Stefan van der Walt
37e0ce0fc8
Merge pull request #223 from jni/jni-concatenate-image-collection
...
ENH: Concatenate image collection.
2012-07-20 16:02:04 -07:00
Juan Nunez-Iglesias
699b5d9269
Add test coverage for alphabetic sort
...
alphanumeric_key should sort filenames correctly when they differ in
text, not just numbers.
2012-07-20 17:50:04 -05:00
Matt McCormick
4b53c92c14
BUG: Fix OTSU thresholding tests with matplotlib IO plugin.
...
The matplotlib IO returns float arrays from [0, 1], which gives difference
results than a ubyte array. Explicitly convert to a ubyte array in the tests.
2012-07-20 18:49:44 -04:00
Juan Nunez-Iglesias
9006c1dab3
Sort files from a global pattern alphanumerically
...
Users usually expect an alphanumeric sort, not lexicographic sort, on
their filenames. This is now the behaviour of ImageCollection.
2012-07-20 17:38:06 -05:00
Matt McCormick
bb1add8abd
BUG: Ignore colorconv RuntimeWarning:invalid value encountered in true_divide.
...
Sometimes zero divided by zero can occur in this code. Saturation was already
explicitly set to zero when 'delta' is zero. According to Wikipedia, hue is
undefined when 'delta' here is zero, so explicitly set to zero.
2012-07-20 18:33:41 -04:00
Dharhas Pothina
46f6733fc9
added xyz2lab, lab2xyz not quite working
2012-07-20 17:00:36 -05:00
Juan Nunez-Iglesias
a61ac37ff2
Add concatenate() support for MultiImage
...
Previously we added the ImageCollection.concatenate function. This
updates MultiImage to have the same functionality, and moves the grunt
work to an outside function to avoid repetition.
2012-07-20 16:46:33 -05:00
Juan Nunez-Iglesias
62ce6f3ab5
Add test for ImageCollection.concatenate
2012-07-20 15:35:03 -05:00
Juan Nunez-Iglesias
11c7fd2f59
Add function 'concatenate' to ImageCollection
...
Many algorithms work on 3D stacks rather than images. It is convenient
to provide automatic conversion from an ImageCollection to an nD-stack.
2012-07-20 15:16:48 -05:00
Stefan van der Walt
c9bef5e06f
Merge pull request #222 from thewtex/freeimage_error_2
...
BUG: Fix tests when FreeImage is not installed.
2012-07-20 13:05:37 -07:00
Matt McCormick
74554793ad
STY: Align multi-line string statements.
2012-07-20 16:00:06 -04:00
wilsaj
86f67f85ed
raise an import error if trying to run test suite without nose
2012-07-20 14:48:03 -05:00
Matt McCormick
db4cc04a90
BUG: Fix tests when FreeImage is not installed.
...
The plugin loader tries plugins but only catches ImportError and
RuntimeError. The FreeImage plugin was throwing OSError. Tests
were failing when FreeImage was not installed. It now throws a
RuntimeError.
2012-07-20 15:46:58 -04:00
Matt McCormick
89f0151a7a
BUG: Fix testing failures when FreeImage not installed.
...
FreeImage throws an OSError, which must be caught when attempting
to load the IO plugins for tests to pass without FreeImage installed.
2012-07-20 15:05:45 -04:00
wilsaj
02a26db453
remove message about not being able to load nose; fixes #218
2012-07-20 12:26:17 -05:00
Johannes Schönberger
c0c23968bf
add perimeter measurement
2012-07-14 14:14:28 +02:00
cgohlke
8d313f1d57
Fix io.imsave() problems with passing arguments to plugin "freeimage"
2012-07-12 10:34:15 -07:00
Stefan van der Walt
1dcc172f60
TST: Check number of input angles in radon tf.
2012-07-09 11:29:37 -07:00
Stefan van der Walt
4d1809a63c
BUG: Allow rgb2grey to be called on grey-level images.
2012-07-08 17:49:17 -07:00
Andreas Mueller
46e959a9d9
COSMIT some manual pep8, removed unused imports, removed unused variables and fixed a bug in a ValueError statement.
2012-06-29 11:27:23 +02:00
Andreas Mueller
d7f1a3abec
COSMIT minor stype improvements, whitespace in error messages
2012-06-29 11:27:23 +02:00
Andreas Mueller
f7c56202d0
COSMIT no spaces around power `**`. Fun: https://gist.github.com/1671995
2012-06-29 11:27:23 +02:00
Andreas Mueller
1251f77d6a
COSMIT minor pep8
2012-06-29 11:27:23 +02:00
Andreas Mueller
ee0fd867da
COSMIT fix ugly line breaks.
2012-06-29 11:27:23 +02:00
Andreas Mueller
9f34c84f1a
COSMIT don't let pep8 make your matrices ugly.
2012-06-29 11:27:23 +02:00
Andreas Mueller
f7b3d8062c
COSMIT pep8
2012-06-29 11:27:23 +02:00
Tony S Yu
9bcda27336
Skip test that fails for PIL < 1.1.7
2012-06-24 22:25:44 -04:00
tonysyu
f487221c3a
Merge pull request #208 from stefanv/io_reset
...
ENH: Allow resetting the plugin state.
2012-06-24 18:37:14 -07:00
Stefan van der Walt
4c66c18f0d
BUG: Fix structural similarity to use new signature for view_as_windows. Remove bad gradient check.
2012-06-24 18:07:35 -07:00
Stefan van der Walt
dd61f4830e
BUG Fix invalid import of structural_similarity.
2012-06-24 18:03:46 -07:00
Stefan van der Walt
87739ed031
BUG Remove merge artefact.
2012-06-24 18:03:02 -07:00
Stefan van der Walt
00922099d6
BUG: Remove double import of find contours.
2012-06-24 17:59:37 -07:00
Stefan van der Walt
635b836c08
PKG: Rename as_windows to view_as_windows.
2012-06-24 17:58:32 -07:00
Stefan van der Walt
fce9de633d
ENH: Promote as_windows to a utility function.
2012-06-24 17:57:51 -07:00
Stefan van der Walt
49b7eac4b5
STY: Wrap long line.
2012-06-24 17:55:52 -07:00
Stefan van der Walt
4816d6fc9d
PKG: Rename _ssim to _structural_similarity.
2012-06-24 17:55:52 -07:00