Commit Graph

867 Commits

Author SHA1 Message Date
Johannes Schönberger c1f3515e00 Speed up transformation of piecewise-affine 2012-09-03 21:46:17 +02:00
Johannes Schönberger 7983f354b8 Apply PEP8 and improve docs 2012-09-03 21:46:17 +02:00
Stefan van der Walt 87a3025196 BUG: Add missing imports in transform module. 2012-09-03 10:09:13 -07:00
Tim Sheerman-Chase 3e3e0928d7 Wrap long line 2012-09-03 13:01:22 +01:00
Tim Sheerman-Chase ea5fe5ff9c Setting _matrix to None, because the transform is not of this form 2012-09-03 13:00:32 +01:00
Tim Sheerman-Chase 839442aad2 Improve comments 2012-09-03 13:00:32 +01:00
Tim Sheerman-Chase 5617bc563f Improve comments 2012-09-03 13:00:32 +01:00
Tim Sheerman-Chase 07d4e333f0 Update doc strings with piecewise affine 2012-09-03 13:00:32 +01:00
Tim Sheerman-Chase be1143046b Achieved functional piecewise affine transform 2012-09-03 13:00:32 +01:00
Tim Sheerman-Chase 92f8643218 Initial work to introduce piecewise affine transform 2012-09-03 13:00:32 +01:00
Stefan van der Walt 2949d18247 Merge pull request #295 from tonysyu/doc-cleanups
Doc cleanups
2012-09-02 22:12:13 -07:00
Tony S Yu dfbbb4d766 Merge pull request #279 from emmanuelle/fix_doc
Fix doc
2012-09-02 17:13:24 -07:00
Tony S Yu 427a79fc6a STY: Clean up whitespace 2012-09-02 19:32:45 -04:00
Tony S Yu 3321e94d1d DOC: Wrap long lines 2012-09-02 19:23:41 -04:00
Tony S Yu 52b5383b09 DOC: Fix rendering bug.
``**`` is interpreted by Sphinx as the start of bold text. Wrap in backticks to prevent misinterpretation.
2012-09-02 18:50:16 -04:00
Tony S Yu 27cac73e16 DOC: Fix section titles to match numpy doc standard 2012-09-02 18:33:38 -04:00
Tony S Yu d67e81742d DOC: Shorten plugin description so it fits in table 2012-09-02 18:10:14 -04:00
Tony S Yu 84ac91927d DOC: Fix citation syntax 2012-09-02 18:03:55 -04:00
Tony S Yu 398344787f DOC: Reformat shape argument 2012-09-02 17:53:23 -04:00
Tony S Yu dc10efe4e1 DOC: Fix formatting to prevent Sphinx warnings 2012-09-02 17:53:22 -04:00
Tony S Yu 1d91ed98ff DOC: Fix Sphinx warning.
Trailing underscores are used to mark links. Wrap in name in backticks to prevent Sphinx for confusing this as a link.
2012-09-02 17:53:22 -04:00
Tony S Yu bfa6f05e1f DOC: Change title to match numpy docstring standard 2012-09-02 17:53:22 -04:00
Tony S Yu ec22dba257 DOC: Fix Sphinx warnings for regionprops
In particular:
- Indented equations in docstring for the `properties` parameter *must* be surrounded by whitespace to prevent Sphinx warnings.
- Fix reference rendering
2012-09-02 17:53:22 -04:00
Emmanuelle Gouillart b1098f69f8 DOC: removed unused import in docstring 2012-09-02 23:21:13 +02:00
Emmanuelle Gouillart 4d1533ab25 Merge pull request #278 from wuan/tv_denoise_fix
fixed data of tv_denoise result images to be in default range for floats
2012-09-02 14:14:38 -07:00
Andreas Wuerl c851053084 specified float array result in docstring 2012-09-02 21:18:00 +02:00
Andreas Wuerl 12b8d8d051 cleanup of tests hence all results of tv denoise operations are returned as float 2012-09-02 21:17:18 +02:00
Johannes Schönberger a9116f877e Hide coefficient variable of geometric transforms 2012-09-02 20:15:44 +02:00
Tony S Yu 8b15656feb Change import to silence import errors in docs.
`import skimage` in submodules seems to cause issues with Sphinx autodocs. (Maybe some sort of circular import issue.) Note the `ImportErrors` fixed by this commit don't actually cause sphinx build errors; Sphinx seems to capture the errors, but it's annoyingly noisy, nonetheless.
2012-09-02 12:23:52 -04:00
Emmanuelle Gouillart 58a57238cc Merge pull request #282 from JDWarner/multispectral_random_walker
Multispectral random walker
2012-09-02 06:23:58 -07:00
Johannes Schönberger aa08e8a559 Fix for predefined output array 2012-09-02 13:41:25 +02:00
Stefan van der Walt c47e230847 Merge pull request #289 from tonysyu/qtmpl-collection-viewer
ENH: Add CollectionViewer.
2012-09-02 04:39:23 -07:00
Stefan van der Walt 1dc50c108a Merge pull request #290 from tonysyu/qtmpl-lineprofile
ENH: Add line profile plugin to viewer.
2012-09-02 04:37:11 -07:00
Johannes Schönberger 2c37c70ca3 Fix support for predefined output array 2012-09-02 13:35:12 +02:00
Johannes Schönberger 373b3293ee Use numpy testing functions 2012-09-02 13:28:07 +02:00
Johannes Schönberger de47332bd2 Add fast morphological operations for binary images 2012-09-02 13:25:52 +02:00
Johannes Schönberger 2842515dc3 Improve doc string layout 2012-09-02 10:34:09 +02:00
Johannes Schönberger 224fcb5d01 Convert selem to uint8 2012-09-02 09:58:02 +02:00
Tony S Yu 41ea3ba7fd Add line profile plugin back in.
I saved a copy of the line profile plugin in a branch and then deleted the plugin from the main qtmpl-viewer branch. Unfortunately, I forgot that rebasing off the main branch would erase the plugin. This commit just adds the plugin back.
2012-09-01 15:42:52 -04:00
Tony S Yu 7d858a8ba9 ENH: Add CollectionViewer 2012-09-01 15:31:34 -04:00
Johannes Schönberger a5fe574bd9 Remove unused imports and add missing types 2012-09-01 14:57:56 +02:00
Johannes Schönberger b05c062d24 Refactor erosion and dilation for better performance 2012-09-01 14:54:17 +02:00
Johannes Schönberger 74797d6205 Fix decision whether to use warping or fast warping 2012-09-01 09:17:16 +02:00
Johannes Schönberger 06d9f7110f Revert to non parallelized execution 2012-09-01 09:09:25 +02:00
Stefan van der Walt c8c1d5c7e7 Merge pull request #275 from ahojnnes/warps
ENH: Refactor image warps.
2012-08-31 18:12:08 -07:00
Johannes Schönberger b2e4fd6f32 Add parallel execution support 2012-08-31 23:46:23 +02:00
Emmanuelle Gouillart e3c68e3bbc Merge pull request #284 from ahojnnes/regionprops-coords
Add new Coordinates property to regionprops
2012-08-31 13:53:26 -07:00
JDWarner e8ddcefae3 PEP8 compliance, removed scaling, different data parsing.
This commit represents all recommended changes since the last
commit, notably:

* PEP8 compliance (in new sections; a few old ones still
  noncompliant w/indentations)

* Moved `depth` kwarg to end of list and in docstring.
  Clarified `depth` docstring, and added section in Notes
  further explaining this parameter.

* Added section in Notes warning that for multichannel inputs,
  all channels are combined during scaling.  The user must
  separately normalize each channel prior to calling
  random_walker()

* New method for parsing data, allowing more elegant gradient
  calculation code. Probably also more extensible. The 2D
  multispectral case forced this change.

* New test: `test_multispectral_2d()`
2012-08-31 14:14:46 -05:00
Emmanuelle Gouillart 873aa6a5dc Merge pull request #281 from mkcor/harris_threshold
Harris threshold
2012-08-31 11:56:02 -07:00
Johannes Schönberger cdff128a43 Add new Coordinates property to regionprops 2012-08-30 21:38:33 +02:00