{"action":"created","comment":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments/32374865","id":32374865,"diff_hunk":"@@ -291,3 +295,154 @@ def local_binary_pattern(image, P, R, method='default'):\n     image = np.ascontiguousarray(image, dtype=np.double)\n     output = _local_binary_pattern(image, P, R, methods[method.lower()])\n     return output\n+\n+\n+def multiblock_lbp(int_image, x, y, width, height):\n+    \"\"\"Multi-block local binary pattern.\n+\n+    The features are calculated similarly to local binary patterns (LBPs),","path":"skimage/feature/texture.py","position":22,"original_position":22,"commit_id":"fe85552596c5e76bf160992f5ed6004c17ead6c6","original_commit_id":"fe85552596c5e76bf160992f5ed6004c17ead6c6","user":{"login":"JDWarner","id":2184487,"avatar_url":"https://avatars.githubusercontent.com/u/2184487?v=3","gravatar_id":"","url":"https://api.github.com/users/JDWarner","html_url":"https://github.com/JDWarner","followers_url":"https://api.github.com/users/JDWarner/followers","following_url":"https://api.github.com/users/JDWarner/following{/other_user}","gists_url":"https://api.github.com/users/JDWarner/gists{/gist_id}","starred_url":"https://api.github.com/users/JDWarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDWarner/subscriptions","organizations_url":"https://api.github.com/users/JDWarner/orgs","repos_url":"https://api.github.com/users/JDWarner/repos","events_url":"https://api.github.com/users/JDWarner/events{/privacy}","received_events_url":"https://api.github.com/users/JDWarner/received_events","type":"User","site_admin":false},"body":"Since we reference LBPs, either/both of a See Also section in the docstring pointing toward LBP would be appropriate, as well as another reference for LBP. I'd be happy with the former; consider both extra credit...","created_at":"2015-06-13T23:34:37Z","updated_at":"2015-06-13T23:34:37Z","html_url":"https://github.com/scikit-image/scikit-image/pull/1536#discussion_r32374865","pull_request_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1536","_links":{"self":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments/32374865"},"html":{"href":"https://github.com/scikit-image/scikit-image/pull/1536#discussion_r32374865"},"pull_request":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1536"}}},"pull_request":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1536","id":36548079,"html_url":"https://github.com/scikit-image/scikit-image/pull/1536","diff_url":"https://github.com/scikit-image/scikit-image/pull/1536.diff","patch_url":"https://github.com/scikit-image/scikit-image/pull/1536.patch","issue_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1536","number":1536,"state":"open","locked":false,"title":"Mb-lbp","user":{"login":"warmspringwinds","id":2501383,"avatar_url":"https://avatars.githubusercontent.com/u/2501383?v=3","gravatar_id":"","url":"https://api.github.com/users/warmspringwinds","html_url":"https://github.com/warmspringwinds","followers_url":"https://api.github.com/users/warmspringwinds/followers","following_url":"https://api.github.com/users/warmspringwinds/following{/other_user}","gists_url":"https://api.github.com/users/warmspringwinds/gists{/gist_id}","starred_url":"https://api.github.com/users/warmspringwinds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmspringwinds/subscriptions","organizations_url":"https://api.github.com/users/warmspringwinds/orgs","repos_url":"https://api.github.com/users/warmspringwinds/repos","events_url":"https://api.github.com/users/warmspringwinds/events{/privacy}","received_events_url":"https://api.github.com/users/warmspringwinds/received_events","type":"User","site_admin":false},"body":"First draft of Multiblock local binary patterns.\r\nRelated post:\r\n\r\nhttp://warmspringwinds.github.io/gsoc/2015/05/29/google-summer-of-code-multi-block-local-binary-patterns-implementation.-pure-python/","created_at":"2015-05-29T21:49:03Z","updated_at":"2015-06-13T23:34:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a50915a536d873205034c41df19d60507af29ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1536/commits","review_comments_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1536/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/1536/comments","statuses_url":"https://api.github.com/repos/scikit-image/scikit-image/statuses/fe85552596c5e76bf160992f5ed6004c17ead6c6","head":{"label":"warmspringwinds:mb-lbp","ref":"mb-lbp","sha":"fe85552596c5e76bf160992f5ed6004c17ead6c6","user":{"login":"warmspringwinds","id":2501383,"avatar_url":"https://avatars.githubusercontent.com/u/2501383?v=3","gravatar_id":"","url":"https://api.github.com/users/warmspringwinds","html_url":"https://github.com/warmspringwinds","followers_url":"https://api.github.com/users/warmspringwinds/followers","following_url":"https://api.github.com/users/warmspringwinds/following{/other_user}","gists_url":"https://api.github.com/users/warmspringwinds/gists{/gist_id}","starred_url":"https://api.github.com/users/warmspringwinds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmspringwinds/subscriptions","organizations_url":"https://api.github.com/users/warmspringwinds/orgs","repos_url":"https://api.github.com/users/warmspringwinds/repos","events_url":"https://api.github.com/users/warmspringwinds/events{/privacy}","received_events_url":"https://api.github.com/users/warmspringwinds/received_events","type":"User","site_admin":false},"repo":{"id":31817858,"name":"scikit-image","full_name":"warmspringwinds/scikit-image","owner":{"login":"warmspringwinds","id":2501383,"avatar_url":"https://avatars.githubusercontent.com/u/2501383?v=3","gravatar_id":"","url":"https://api.github.com/users/warmspringwinds","html_url":"https://github.com/warmspringwinds","followers_url":"https://api.github.com/users/warmspringwinds/followers","following_url":"https://api.github.com/users/warmspringwinds/following{/other_user}","gists_url":"https://api.github.com/users/warmspringwinds/gists{/gist_id}","starred_url":"https://api.github.com/users/warmspringwinds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmspringwinds/subscriptions","organizations_url":"https://api.github.com/users/warmspringwinds/orgs","repos_url":"https://api.github.com/users/warmspringwinds/repos","events_url":"https://api.github.com/users/warmspringwinds/events{/privacy}","received_events_url":"https://api.github.com/users/warmspringwinds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/warmspringwinds/scikit-image","description":"Image Processing SciKit (Toolbox for SciPy)","fork":true,"url":"https://api.github.com/repos/warmspringwinds/scikit-image","forks_url":"https://api.github.com/repos/warmspringwinds/scikit-image/forks","keys_url":"https://api.github.com/repos/warmspringwinds/scikit-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/warmspringwinds/scikit-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/warmspringwinds/scikit-image/teams","hooks_url":"https://api.github.com/repos/warmspringwinds/scikit-image/hooks","issue_events_url":"https://api.github.com/repos/warmspringwinds/scikit-image/issues/events{/number}","events_url":"https://api.github.com/repos/warmspringwinds/scikit-image/events","assignees_url":"https://api.github.com/repos/warmspringwinds/scikit-image/assignees{/user}","branches_url":"https://api.github.com/repos/warmspringwinds/scikit-image/branches{/branch}","tags_url":"https://api.github.com/repos/warmspringwinds/scikit-image/tags","blobs_url":"https://api.github.com/repos/warmspringwinds/scikit-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/warmspringwinds/scikit-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/warmspringwinds/scikit-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/warmspringwinds/scikit-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/warmspringwinds/scikit-image/statuses/{sha}","languages_url":"https://api.github.com/repos/warmspringwinds/scikit-image/languages","stargazers_url":"https://api.github.com/repos/warmspringwinds/scikit-image/stargazers","contributors_url":"https://api.github.com/repos/warmspringwinds/scikit-image/contributors","subscribers_url":"https://api.github.com/repos/warmspringwinds/scikit-image/subscribers","subscription_url":"https://api.github.com/repos/warmspringwinds/scikit-image/subscription","commits_url":"https://api.github.com/repos/warmspringwinds/scikit-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/warmspringwinds/scikit-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/warmspringwinds/scikit-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/warmspringwinds/scikit-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/warmspringwinds/scikit-image/contents/{+path}","compare_url":"https://api.github.com/repos/warmspringwinds/scikit-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/warmspringwinds/scikit-image/merges","archive_url":"https://api.github.com/repos/warmspringwinds/scikit-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/warmspringwinds/scikit-image/downloads","issues_url":"https://api.github.com/repos/warmspringwinds/scikit-image/issues{/number}","pulls_url":"https://api.github.com/repos/warmspringwinds/scikit-image/pulls{/number}","milestones_url":"https://api.github.com/repos/warmspringwinds/scikit-image/milestones{/number}","notifications_url":"https://api.github.com/repos/warmspringwinds/scikit-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/warmspringwinds/scikit-image/labels{/name}","releases_url":"https://api.github.com/repos/warmspringwinds/scikit-image/releases{/id}","created_at":"2015-03-07T16:14:12Z","updated_at":"2015-03-21T22:34:00Z","pushed_at":"2015-06-13T05:45:39Z","git_url":"git://github.com/warmspringwinds/scikit-image.git","ssh_url":"git@github.com:warmspringwinds/scikit-image.git","clone_url":"https://github.com/warmspringwinds/scikit-image.git","svn_url":"https://github.com/warmspringwinds/scikit-image","homepage":"http://scikit-image.org","size":39124,"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":"3faa32149a3c3872542b4c523d0fa8325107d7d4","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}","created_at":"2011-07-07T22:07:20Z","updated_at":"2015-06-12T02:43:48Z","pushed_at":"2015-06-13T23:07:02Z","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":67184,"stargazers_count":728,"watchers_count":728,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":374,"mirror_url":null,"open_issues_count":179,"forks":374,"open_issues":179,"watchers":728,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1536"},"html":{"href":"https://github.com/scikit-image/scikit-image/pull/1536"},"issue":{"href":"https://api.github.com/repos/scikit-image/scikit-image/issues/1536"},"comments":{"href":"https://api.github.com/repos/scikit-image/scikit-image/issues/1536/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1536/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/1536/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-image/scikit-image/statuses/fe85552596c5e76bf160992f5ed6004c17ead6c6"}}}}