{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/2110","repository_url":"https://api.github.com/repos/scikit-image/scikit-image","labels_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/2110/labels{/name}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/2110/comments","events_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/2110/events","html_url":"https://github.com/scikit-image/scikit-image/pull/2110","id":156742129,"number":2110,"title":"ENH: mosaic to choose the best threshold algorithm","user":{"login":"sciunto","id":335370,"avatar_url":"https://avatars.githubusercontent.com/u/335370?v=3","gravatar_id":"","url":"https://api.github.com/users/sciunto","html_url":"https://github.com/sciunto","followers_url":"https://api.github.com/users/sciunto/followers","following_url":"https://api.github.com/users/sciunto/following{/other_user}","gists_url":"https://api.github.com/users/sciunto/gists{/gist_id}","starred_url":"https://api.github.com/users/sciunto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sciunto/subscriptions","organizations_url":"https://api.github.com/users/sciunto/orgs","repos_url":"https://api.github.com/users/sciunto/repos","events_url":"https://api.github.com/users/sciunto/events{/privacy}","received_events_url":"https://api.github.com/users/sciunto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-25T12:48:28Z","updated_at":"2016-05-30T07:02:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/2110","html_url":"https://github.com/scikit-image/scikit-image/pull/2110","diff_url":"https://github.com/scikit-image/scikit-image/pull/2110.diff","patch_url":"https://github.com/scikit-image/scikit-image/pull/2110.patch"},"body":"## Description\r\n\r\nFor a while, I wanted a feature similar to [imagej](http://imagej.net/Auto_Threshold#Try_all), called try_all. As a user, it's convenient to visualize the effect of different threshold algorithms to find the best one.\r\n\r\nHere is an example (updated):\r\n\r\n```python\r\n\r\n\r\nimg = data.page()\r\nfig, ax = mosaic_threshold(img, radius=10, figsize=(10,8))\r\nfig\r\n```\r\n\r\n```\r\nskimage.filters.thresholding.threshold_isodata\r\nskimage.filters.thresholding.threshold_otsu\r\nskimage.filters.thresholding.threshold_li\r\nskimage.filters.thresholding.threshold_yen\r\nskimage.filters.thresholding.threshold_adaptive\r\nskimage.filters.rank.generic.otsu\r\n```\r\n\r\n![2](https://cloud.githubusercontent.com/assets/335370/15627535/a431796c-24e7-11e6-9ba6-815758c45cb8.png)\r\n\r\n\r\nI open this to start discussions.\r\n\r\n## Checklist\r\n\r\n- [x] implementation python 3\r\n- [x] compatibility with python 2.7 (or we kick away py2.7 :) )\r\n- [x] Use it to illustrate our examples in the gallery (edit `doc/examples/segmentation/plot_otsu.py`).\r\n- [ ] Merge other thresholding examples in this one.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/comments/222425236","html_url":"https://github.com/scikit-image/scikit-image/pull/2110#issuecomment-222425236","issue_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/2110","id":222425236,"user":{"login":"jni","id":492549,"avatar_url":"https://avatars.githubusercontent.com/u/492549?v=3","gravatar_id":"","url":"https://api.github.com/users/jni","html_url":"https://github.com/jni","followers_url":"https://api.github.com/users/jni/followers","following_url":"https://api.github.com/users/jni/following{/other_user}","gists_url":"https://api.github.com/users/jni/gists{/gist_id}","starred_url":"https://api.github.com/users/jni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jni/subscriptions","organizations_url":"https://api.github.com/users/jni/orgs","repos_url":"https://api.github.com/users/jni/repos","events_url":"https://api.github.com/users/jni/events{/privacy}","received_events_url":"https://api.github.com/users/jni/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T07:02:43Z","updated_at":"2016-05-30T07:02:43Z","body":"This is super cool. Thanks @sciunto! Are you done with the implementation?"}}
{"actor":{"display_login":"jni"}}