Commit Graph

434 Commits

Author SHA1 Message Date
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 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
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
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
Stefan van der Walt 37567726fd ENH: Automatically determine dynamic range in ssim if not specified. 2012-06-24 17:55:04 -07:00
Stefan van der Walt 58366f86bd ENH: Rename ssid to structural_similarity to avoid confusion with self-similarity features. 2012-06-24 17:55:04 -07:00
Stefan van der Walt 226220902a ENH: Add SSIM gradient. 2012-06-24 17:55:04 -07:00
Stefan van der Walt 3529e4d818 ENH: Add Structural SIMilarity (SSIM) image comparison. 2012-06-24 17:55:04 -07:00
Stefan van der Walt 0a30a2046e ENH: Allow resetting the plugin state. 2012-06-24 17:14:38 -07:00
Stefan van der Walt 7c19250810 BUG: Use PIL as the default image loader. 2012-06-24 17:00:36 -07:00
Stefan van der Walt 417776f776 Merge pull request #196 from tonysyu/fix-plugin-init
BUG: Check all io functions when loading of default plugins.
2012-06-24 16:56:57 -07:00
Stefan van der Walt 37d1fd4723 DOC: Provide correct link for tifffile plugin. 2012-06-24 16:52:22 -07:00
Tony S Yu 2ec05f3271 Refactor how PIL is set as default for imread. 2012-06-24 19:38:01 -04:00
cgohlke 76134ff59b Fix build error on EPD for Windows 2012-06-12 13:28:33 -07:00
Stefan van der Walt 944f79cdce BUG: Fix background labelling for case when (0, 0) belongs to the background. 2012-06-12 09:51:16 -07:00
cgohlke 98245449cb Fix test failures on Python 3 2012-06-11 09:36:29 -07:00
Stefan van der Walt 8141f39a2b BUG: Fix PIL test on big endian. 2012-06-11 00:37:48 -07:00
Stefan van der Walt a7b41f3025 Merge pull request #193 from cgohlke/patch-1
ENH: Fix dtype.convert function.
2012-06-10 19:26:24 -07:00
Stefan van der Walt ec29249a1f Merge pull request #198 from zachrahan/mcp-index-fix
BUG: MCP segfaults if both positive and negative moves would go out of bounds.
2012-06-07 15:21:05 -07:00
Zach Pincus 8f237dbefe ENH: Add tests for boundary-overlapping offsets 2012-06-07 09:02:31 -04:00
Zach Pincus 79972c3013 Indent 4 2012-06-07 08:55:35 -04:00
Zach Pincus ffff4a3077 BUG: MCP could segfault in places where both positive and negative moves would go out of bounds.
Previous assumption was that no location in the array would be one move from both upper and lower boundaries. This assumption is now removed.
2012-06-06 23:52:33 -04:00
cgohlke bde2831709 Add test_float_out_of_range 2012-06-06 18:53:44 -07:00
cgohlke 96bad2e4cf Add range check against better judgment 2012-06-06 18:51:47 -07:00
Tony S Yu b038677e70 Fix: check all io functions when loading of default plugins.
Previously, the first available plugin was loaded and the plugin search quit---even if that plugin didn't provide all io functions. Loop over functions instead to ensure all io funcs have a plugin (if available).
2012-05-31 00:27:15 -04:00