{"action":"opened","number":2311,"pull_request":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/2311","id":85751205,"html_url":"https://github.com/scikit-image/scikit-image/pull/2311","diff_url":"https://github.com/scikit-image/scikit-image/pull/2311.diff","patch_url":"https://github.com/scikit-image/scikit-image/pull/2311.patch","issue_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/2311","number":2311,"state":"open","locked":false,"title":"Corrections proposed + improvements.","user":{"login":"alexandrejaguar","id":5776022,"avatar_url":"https://avatars.githubusercontent.com/u/5776022?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrejaguar","html_url":"https://github.com/alexandrejaguar","followers_url":"https://api.github.com/users/alexandrejaguar/followers","following_url":"https://api.github.com/users/alexandrejaguar/following{/other_user}","gists_url":"https://api.github.com/users/alexandrejaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrejaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrejaguar/subscriptions","organizations_url":"https://api.github.com/users/alexandrejaguar/orgs","repos_url":"https://api.github.com/users/alexandrejaguar/repos","events_url":"https://api.github.com/users/alexandrejaguar/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrejaguar/received_events","type":"User","site_admin":false},"body":"## Description\r\nAdding the function `threshold_multiotsu()`. This generates multiple thresholds for an input image, based on the Multi-Otsu implementation by Liao and Chung.\r\n\r\n## Checklist\r\n[It's fine to submit PRs which are a work in progress! But before they are merged, all PRs should provide:]\r\n- [X] Clean style in [the spirit of PEP8](https://www.python.org/dev/peps/pep-0008/)\r\n- [X] [Docstrings for all functions](https://github.com/numpy/numpy/blob/master/doc/example.py)\r\n- [X] Gallery example in `./doc/examples` (new features only)\r\n- [ ] Unit tests\r\n\r\n## References\r\n[1] Liao, P-S., Chen, T-S. and Chung, P-C., \"A fast algorithm for multilevel thresholding\", Journal of Information Science and Engineering 17 (5): 713-727, 2001.\r\n[2] Tosa, Y., \"Multi-Otsu Threshold\", a java plugin for ImageJ. Available at: http://imagej.net/plugins/download/Multi_OtsuThreshold.java","created_at":"2016-09-19T08:03:46Z","updated_at":"2016-09-19T08:03:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/2311/commits","review_comments_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/2311/comments","review_comment_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/2311/comments","statuses_url":"https://api.github.com/repos/scikit-image/scikit-image/statuses/41d030fe6c69934ab8f10b58c245cfbba3624e71","head":{"label":"alexandrejaguar:thresh_multiotsu","ref":"thresh_multiotsu","sha":"41d030fe6c69934ab8f10b58c245cfbba3624e71","user":{"login":"alexandrejaguar","id":5776022,"avatar_url":"https://avatars.githubusercontent.com/u/5776022?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrejaguar","html_url":"https://github.com/alexandrejaguar","followers_url":"https://api.github.com/users/alexandrejaguar/followers","following_url":"https://api.github.com/users/alexandrejaguar/following{/other_user}","gists_url":"https://api.github.com/users/alexandrejaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrejaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrejaguar/subscriptions","organizations_url":"https://api.github.com/users/alexandrejaguar/orgs","repos_url":"https://api.github.com/users/alexandrejaguar/repos","events_url":"https://api.github.com/users/alexandrejaguar/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrejaguar/received_events","type":"User","site_admin":false},"repo":{"id":47785649,"name":"scikit-image","full_name":"alexandrejaguar/scikit-image","owner":{"login":"alexandrejaguar","id":5776022,"avatar_url":"https://avatars.githubusercontent.com/u/5776022?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrejaguar","html_url":"https://github.com/alexandrejaguar","followers_url":"https://api.github.com/users/alexandrejaguar/followers","following_url":"https://api.github.com/users/alexandrejaguar/following{/other_user}","gists_url":"https://api.github.com/users/alexandrejaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrejaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrejaguar/subscriptions","organizations_url":"https://api.github.com/users/alexandrejaguar/orgs","repos_url":"https://api.github.com/users/alexandrejaguar/repos","events_url":"https://api.github.com/users/alexandrejaguar/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrejaguar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexandrejaguar/scikit-image","description":"Image Processing SciKit (Toolbox for SciPy)","fork":true,"url":"https://api.github.com/repos/alexandrejaguar/scikit-image","forks_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/forks","keys_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/teams","hooks_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/hooks","issue_events_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/issues/events{/number}","events_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/events","assignees_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/assignees{/user}","branches_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/branches{/branch}","tags_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/tags","blobs_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/statuses/{sha}","languages_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/languages","stargazers_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/stargazers","contributors_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/contributors","subscribers_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/subscribers","subscription_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/subscription","commits_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/contents/{+path}","compare_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/merges","archive_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/downloads","issues_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/issues{/number}","pulls_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/pulls{/number}","milestones_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/milestones{/number}","notifications_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/labels{/name}","releases_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/releases{/id}","deployments_url":"https://api.github.com/repos/alexandrejaguar/scikit-image/deployments","created_at":"2015-12-10T20:28:29Z","updated_at":"2016-02-29T20:05:11Z","pushed_at":"2016-09-19T07:59:49Z","git_url":"git://github.com/alexandrejaguar/scikit-image.git","ssh_url":"git@github.com:alexandrejaguar/scikit-image.git","clone_url":"https://github.com/alexandrejaguar/scikit-image.git","svn_url":"https://github.com/alexandrejaguar/scikit-image","homepage":"http://scikit-image.org","size":41278,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scikit-image:master","ref":"master","sha":"cbff8939c360851ea89976117abae406dcb4d41e","user":{"login":"scikit-image","id":897180,"avatar_url":"https://avatars.githubusercontent.com/u/897180?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-image","html_url":"https://github.com/scikit-image","followers_url":"https://api.github.com/users/scikit-image/followers","following_url":"https://api.github.com/users/scikit-image/following{/other_user}","gists_url":"https://api.github.com/users/scikit-image/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-image/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-image/subscriptions","organizations_url":"https://api.github.com/users/scikit-image/orgs","repos_url":"https://api.github.com/users/scikit-image/repos","events_url":"https://api.github.com/users/scikit-image/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-image/received_events","type":"Organization","site_admin":false},"repo":{"id":2014929,"name":"scikit-image","full_name":"scikit-image/scikit-image","owner":{"login":"scikit-image","id":897180,"avatar_url":"https://avatars.githubusercontent.com/u/897180?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-image","html_url":"https://github.com/scikit-image","followers_url":"https://api.github.com/users/scikit-image/followers","following_url":"https://api.github.com/users/scikit-image/following{/other_user}","gists_url":"https://api.github.com/users/scikit-image/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-image/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-image/subscriptions","organizations_url":"https://api.github.com/users/scikit-image/orgs","repos_url":"https://api.github.com/users/scikit-image/repos","events_url":"https://api.github.com/users/scikit-image/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-image/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scikit-image/scikit-image","description":"Image Processing SciKit (Toolbox for SciPy)","fork":false,"url":"https://api.github.com/repos/scikit-image/scikit-image","forks_url":"https://api.github.com/repos/scikit-image/scikit-image/forks","keys_url":"https://api.github.com/repos/scikit-image/scikit-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scikit-image/scikit-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scikit-image/scikit-image/teams","hooks_url":"https://api.github.com/repos/scikit-image/scikit-image/hooks","issue_events_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/events{/number}","events_url":"https://api.github.com/repos/scikit-image/scikit-image/events","assignees_url":"https://api.github.com/repos/scikit-image/scikit-image/assignees{/user}","branches_url":"https://api.github.com/repos/scikit-image/scikit-image/branches{/branch}","tags_url":"https://api.github.com/repos/scikit-image/scikit-image/tags","blobs_url":"https://api.github.com/repos/scikit-image/scikit-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scikit-image/scikit-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scikit-image/scikit-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/scikit-image/scikit-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scikit-image/scikit-image/statuses/{sha}","languages_url":"https://api.github.com/repos/scikit-image/scikit-image/languages","stargazers_url":"https://api.github.com/repos/scikit-image/scikit-image/stargazers","contributors_url":"https://api.github.com/repos/scikit-image/scikit-image/contributors","subscribers_url":"https://api.github.com/repos/scikit-image/scikit-image/subscribers","subscription_url":"https://api.github.com/repos/scikit-image/scikit-image/subscription","commits_url":"https://api.github.com/repos/scikit-image/scikit-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/scikit-image/scikit-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/scikit-image/scikit-image/contents/{+path}","compare_url":"https://api.github.com/repos/scikit-image/scikit-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scikit-image/scikit-image/merges","archive_url":"https://api.github.com/repos/scikit-image/scikit-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scikit-image/scikit-image/downloads","issues_url":"https://api.github.com/repos/scikit-image/scikit-image/issues{/number}","pulls_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls{/number}","milestones_url":"https://api.github.com/repos/scikit-image/scikit-image/milestones{/number}","notifications_url":"https://api.github.com/repos/scikit-image/scikit-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scikit-image/scikit-image/labels{/name}","releases_url":"https://api.github.com/repos/scikit-image/scikit-image/releases{/id}","deployments_url":"https://api.github.com/repos/scikit-image/scikit-image/deployments","created_at":"2011-07-07T22:07:20Z","updated_at":"2016-09-19T06:44:05Z","pushed_at":"2016-09-19T08:03:46Z","git_url":"git://github.com/scikit-image/scikit-image.git","ssh_url":"git@github.com:scikit-image/scikit-image.git","clone_url":"https://github.com/scikit-image/scikit-image.git","svn_url":"https://github.com/scikit-image/scikit-image","homepage":"http://scikit-image.org","size":75308,"stargazers_count":1248,"watchers_count":1248,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":635,"mirror_url":null,"open_issues_count":316,"forks":635,"open_issues":316,"watchers":1248,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/2311"},"html":{"href":"https://github.com/scikit-image/scikit-image/pull/2311"},"issue":{"href":"https://api.github.com/repos/scikit-image/scikit-image/issues/2311"},"comments":{"href":"https://api.github.com/repos/scikit-image/scikit-image/issues/2311/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/2311/comments"},"review_comment":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/2311/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-image/scikit-image/statuses/41d030fe6c69934ab8f10b58c245cfbba3624e71"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":220,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"alexandrejaguar"}}