Commit Graph

2618 Commits

Author SHA1 Message Date
tonysyu c4854e78f3 Merge pull request #119 from stefanv/ssim
ENH: Add structural similarity index and gradient.
2012-06-24 18:27:49 -07:00
Stefan van der Walt b8d43b20c9 Merge pull request #190 from tonysyu/plot2rst
ENH: Replace `gen_rst` Sphinx extension with `plot2rst`.
2012-06-24 18:15:11 -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 ac86299690 DOC: In ssim example, use correct dynamic range in algorithm and when displaying results. 2012-06-24 17:55:04 -07:00
Stefan van der Walt 03f6da135b DOC: Example of structural similarity. The example is currently broken because structural_similarity does not auto-detect dynamic range. 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
Tony S Yu a903aa625d Replace mpltools reference with skimage. 2012-06-24 20:46:38 -04: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
Emmanuelle Gouillart 4ab7d0a4fa Modifications to random walker segmentation algorithm:
* returning the probability to belong to a label instead of only the most
  likely label is now possible

* fixing some type issues

* handling non-consecutive label values
2012-06-24 19:35:27 +02:00
Stefan van der Walt 8ece051c9c Merge pull request #202 from cgohlke/patch-3
PKG: Fix build error on EPD for Windows.
2012-06-12 13:55:05 -07: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
Tony S Yu 6741bb639a DOC: Fix link formatting 2012-06-11 20:05:27 -04:00
Stefan van der Walt d68d43c7da Merge pull request #200 from cgohlke/patch-2
BUG: Fix dtype conversion test failures on Python 3.
2012-06-11 12:35:58 -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 d32268e1c5 PKG: Update release instructions--add version to bento.info. 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
tonysyu 7f823a4d26 Merge pull request #194 from jehturner/pyfits_hdusize_fix
Allow for type of hdu.size changing in PyFITS 3.1
2012-06-07 07:10:30 -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
James Turner 3c83eb8966 Readability improvement suggested by tonysyu 2012-05-29 11:36:42 -04:00
James Turner cb44e508f3 Allow for type of hdu.size changing in PyFITS 3.1 2012-05-28 19:46:39 -04:00
cgohlke bbc5b8e552 Remove range check test 2012-05-24 01:20:51 -07:00
cgohlke 6d997b9af7 Remove controversial range check 2012-05-24 01:18:49 -07:00
cgohlke 225cfca4e2 Use general format 2012-05-23 12:09:41 -07:00
cgohlke 15c0df33c9 Fix TypeError 2012-05-23 12:03:23 -07:00
cgohlke 11c4ca7f53 Add floating point range check 2012-05-23 11:37:07 -07:00
cgohlke dad16f8a29 Restore test_float_out_of_range 2012-05-23 11:33:19 -07:00
cgohlke 4377c647f4 Code cleanup 2012-05-23 01:35:36 -07:00
cgohlke c4552d294a Return correct dtype 2012-05-23 00:57:26 -07:00