{"action":"closed","number":44,"pull_request":{"url":"https://api.github.com/repos/CellProfiler/centrosome/pulls/44","id":47803058,"html_url":"https://github.com/CellProfiler/centrosome/pull/44","diff_url":"https://github.com/CellProfiler/centrosome/pull/44.diff","patch_url":"https://github.com/CellProfiler/centrosome/pull/44.patch","issue_url":"https://api.github.com/repos/CellProfiler/centrosome/issues/44","number":44,"state":"closed","locked":false,"title":"Added skeleton_length to compute length of skeletonized labels + tests","user":{"login":"LeeKamentsky","id":660469,"avatar_url":"https://avatars.githubusercontent.com/u/660469?v=3","gravatar_id":"","url":"https://api.github.com/users/LeeKamentsky","html_url":"https://github.com/LeeKamentsky","followers_url":"https://api.github.com/users/LeeKamentsky/followers","following_url":"https://api.github.com/users/LeeKamentsky/following{/other_user}","gists_url":"https://api.github.com/users/LeeKamentsky/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeKamentsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeKamentsky/subscriptions","organizations_url":"https://api.github.com/users/LeeKamentsky/orgs","repos_url":"https://api.github.com/users/LeeKamentsky/repos","events_url":"https://api.github.com/users/LeeKamentsky/events{/privacy}","received_events_url":"https://api.github.com/users/LeeKamentsky/received_events","type":"User","site_admin":false},"body":"@tischi see if this works for you\r\n\r\nThis is a feature that Christian Tischner asked for - compute the length of skeletonized objects. It should be useful for neurons as a measure of dendrite length for skeletonized neurons.\r\n\r\nThe code works by creating a lookup for each possible arrangement of pixels within a 3x3 neighborhood. It then uses the newly refactored `table_idx_from_labels()` to find the lookup index of each pixel and then do a per-label sum using the index and lookup table.","created_at":"2015-10-15T15:35:36Z","updated_at":"2015-10-23T17:35:07Z","closed_at":"2015-10-23T17:35:07Z","merged_at":"2015-10-23T17:35:07Z","merge_commit_sha":"c7eaa92dc795057d22f60b235774cfd3bef0d655","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CellProfiler/centrosome/pulls/44/commits","review_comments_url":"https://api.github.com/repos/CellProfiler/centrosome/pulls/44/comments","review_comment_url":"https://api.github.com/repos/CellProfiler/centrosome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CellProfiler/centrosome/issues/44/comments","statuses_url":"https://api.github.com/repos/CellProfiler/centrosome/statuses/064432163f080b568ed43e5efde3fe56551ae2df","head":{"label":"CellProfiler:features/skeleton_length","ref":"features/skeleton_length","sha":"064432163f080b568ed43e5efde3fe56551ae2df","user":{"login":"CellProfiler","id":710590,"avatar_url":"https://avatars.githubusercontent.com/u/710590?v=3","gravatar_id":"","url":"https://api.github.com/users/CellProfiler","html_url":"https://github.com/CellProfiler","followers_url":"https://api.github.com/users/CellProfiler/followers","following_url":"https://api.github.com/users/CellProfiler/following{/other_user}","gists_url":"https://api.github.com/users/CellProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/CellProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellProfiler/subscriptions","organizations_url":"https://api.github.com/users/CellProfiler/orgs","repos_url":"https://api.github.com/users/CellProfiler/repos","events_url":"https://api.github.com/users/CellProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/CellProfiler/received_events","type":"Organization","site_admin":false},"repo":{"id":40682858,"name":"centrosome","full_name":"CellProfiler/centrosome","owner":{"login":"CellProfiler","id":710590,"avatar_url":"https://avatars.githubusercontent.com/u/710590?v=3","gravatar_id":"","url":"https://api.github.com/users/CellProfiler","html_url":"https://github.com/CellProfiler","followers_url":"https://api.github.com/users/CellProfiler/followers","following_url":"https://api.github.com/users/CellProfiler/following{/other_user}","gists_url":"https://api.github.com/users/CellProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/CellProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellProfiler/subscriptions","organizations_url":"https://api.github.com/users/CellProfiler/orgs","repos_url":"https://api.github.com/users/CellProfiler/repos","events_url":"https://api.github.com/users/CellProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/CellProfiler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CellProfiler/centrosome","description":"An open source image processing library ","fork":false,"url":"https://api.github.com/repos/CellProfiler/centrosome","forks_url":"https://api.github.com/repos/CellProfiler/centrosome/forks","keys_url":"https://api.github.com/repos/CellProfiler/centrosome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CellProfiler/centrosome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CellProfiler/centrosome/teams","hooks_url":"https://api.github.com/repos/CellProfiler/centrosome/hooks","issue_events_url":"https://api.github.com/repos/CellProfiler/centrosome/issues/events{/number}","events_url":"https://api.github.com/repos/CellProfiler/centrosome/events","assignees_url":"https://api.github.com/repos/CellProfiler/centrosome/assignees{/user}","branches_url":"https://api.github.com/repos/CellProfiler/centrosome/branches{/branch}","tags_url":"https://api.github.com/repos/CellProfiler/centrosome/tags","blobs_url":"https://api.github.com/repos/CellProfiler/centrosome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CellProfiler/centrosome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CellProfiler/centrosome/git/refs{/sha}","trees_url":"https://api.github.com/repos/CellProfiler/centrosome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CellProfiler/centrosome/statuses/{sha}","languages_url":"https://api.github.com/repos/CellProfiler/centrosome/languages","stargazers_url":"https://api.github.com/repos/CellProfiler/centrosome/stargazers","contributors_url":"https://api.github.com/repos/CellProfiler/centrosome/contributors","subscribers_url":"https://api.github.com/repos/CellProfiler/centrosome/subscribers","subscription_url":"https://api.github.com/repos/CellProfiler/centrosome/subscription","commits_url":"https://api.github.com/repos/CellProfiler/centrosome/commits{/sha}","git_commits_url":"https://api.github.com/repos/CellProfiler/centrosome/git/commits{/sha}","comments_url":"https://api.github.com/repos/CellProfiler/centrosome/comments{/number}","issue_comment_url":"https://api.github.com/repos/CellProfiler/centrosome/issues/comments{/number}","contents_url":"https://api.github.com/repos/CellProfiler/centrosome/contents/{+path}","compare_url":"https://api.github.com/repos/CellProfiler/centrosome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CellProfiler/centrosome/merges","archive_url":"https://api.github.com/repos/CellProfiler/centrosome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CellProfiler/centrosome/downloads","issues_url":"https://api.github.com/repos/CellProfiler/centrosome/issues{/number}","pulls_url":"https://api.github.com/repos/CellProfiler/centrosome/pulls{/number}","milestones_url":"https://api.github.com/repos/CellProfiler/centrosome/milestones{/number}","notifications_url":"https://api.github.com/repos/CellProfiler/centrosome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CellProfiler/centrosome/labels{/name}","releases_url":"https://api.github.com/repos/CellProfiler/centrosome/releases{/id}","created_at":"2015-08-13T21:35:11Z","updated_at":"2015-10-13T19:19:49Z","pushed_at":"2015-10-23T17:35:08Z","git_url":"git://github.com/CellProfiler/centrosome.git","ssh_url":"git@github.com:CellProfiler/centrosome.git","clone_url":"https://github.com/CellProfiler/centrosome.git","svn_url":"https://github.com/CellProfiler/centrosome","homepage":"","size":1076,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":20,"forks":1,"open_issues":20,"watchers":0,"default_branch":"master"}},"base":{"label":"CellProfiler:master","ref":"master","sha":"6451c02ba91d9ce31a717c65be4ce091dd489426","user":{"login":"CellProfiler","id":710590,"avatar_url":"https://avatars.githubusercontent.com/u/710590?v=3","gravatar_id":"","url":"https://api.github.com/users/CellProfiler","html_url":"https://github.com/CellProfiler","followers_url":"https://api.github.com/users/CellProfiler/followers","following_url":"https://api.github.com/users/CellProfiler/following{/other_user}","gists_url":"https://api.github.com/users/CellProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/CellProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellProfiler/subscriptions","organizations_url":"https://api.github.com/users/CellProfiler/orgs","repos_url":"https://api.github.com/users/CellProfiler/repos","events_url":"https://api.github.com/users/CellProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/CellProfiler/received_events","type":"Organization","site_admin":false},"repo":{"id":40682858,"name":"centrosome","full_name":"CellProfiler/centrosome","owner":{"login":"CellProfiler","id":710590,"avatar_url":"https://avatars.githubusercontent.com/u/710590?v=3","gravatar_id":"","url":"https://api.github.com/users/CellProfiler","html_url":"https://github.com/CellProfiler","followers_url":"https://api.github.com/users/CellProfiler/followers","following_url":"https://api.github.com/users/CellProfiler/following{/other_user}","gists_url":"https://api.github.com/users/CellProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/CellProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellProfiler/subscriptions","organizations_url":"https://api.github.com/users/CellProfiler/orgs","repos_url":"https://api.github.com/users/CellProfiler/repos","events_url":"https://api.github.com/users/CellProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/CellProfiler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CellProfiler/centrosome","description":"An open source image processing library ","fork":false,"url":"https://api.github.com/repos/CellProfiler/centrosome","forks_url":"https://api.github.com/repos/CellProfiler/centrosome/forks","keys_url":"https://api.github.com/repos/CellProfiler/centrosome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CellProfiler/centrosome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CellProfiler/centrosome/teams","hooks_url":"https://api.github.com/repos/CellProfiler/centrosome/hooks","issue_events_url":"https://api.github.com/repos/CellProfiler/centrosome/issues/events{/number}","events_url":"https://api.github.com/repos/CellProfiler/centrosome/events","assignees_url":"https://api.github.com/repos/CellProfiler/centrosome/assignees{/user}","branches_url":"https://api.github.com/repos/CellProfiler/centrosome/branches{/branch}","tags_url":"https://api.github.com/repos/CellProfiler/centrosome/tags","blobs_url":"https://api.github.com/repos/CellProfiler/centrosome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CellProfiler/centrosome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CellProfiler/centrosome/git/refs{/sha}","trees_url":"https://api.github.com/repos/CellProfiler/centrosome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CellProfiler/centrosome/statuses/{sha}","languages_url":"https://api.github.com/repos/CellProfiler/centrosome/languages","stargazers_url":"https://api.github.com/repos/CellProfiler/centrosome/stargazers","contributors_url":"https://api.github.com/repos/CellProfiler/centrosome/contributors","subscribers_url":"https://api.github.com/repos/CellProfiler/centrosome/subscribers","subscription_url":"https://api.github.com/repos/CellProfiler/centrosome/subscription","commits_url":"https://api.github.com/repos/CellProfiler/centrosome/commits{/sha}","git_commits_url":"https://api.github.com/repos/CellProfiler/centrosome/git/commits{/sha}","comments_url":"https://api.github.com/repos/CellProfiler/centrosome/comments{/number}","issue_comment_url":"https://api.github.com/repos/CellProfiler/centrosome/issues/comments{/number}","contents_url":"https://api.github.com/repos/CellProfiler/centrosome/contents/{+path}","compare_url":"https://api.github.com/repos/CellProfiler/centrosome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CellProfiler/centrosome/merges","archive_url":"https://api.github.com/repos/CellProfiler/centrosome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CellProfiler/centrosome/downloads","issues_url":"https://api.github.com/repos/CellProfiler/centrosome/issues{/number}","pulls_url":"https://api.github.com/repos/CellProfiler/centrosome/pulls{/number}","milestones_url":"https://api.github.com/repos/CellProfiler/centrosome/milestones{/number}","notifications_url":"https://api.github.com/repos/CellProfiler/centrosome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CellProfiler/centrosome/labels{/name}","releases_url":"https://api.github.com/repos/CellProfiler/centrosome/releases{/id}","created_at":"2015-08-13T21:35:11Z","updated_at":"2015-10-13T19:19:49Z","pushed_at":"2015-10-23T17:35:08Z","git_url":"git://github.com/CellProfiler/centrosome.git","ssh_url":"git@github.com:CellProfiler/centrosome.git","clone_url":"https://github.com/CellProfiler/centrosome.git","svn_url":"https://github.com/CellProfiler/centrosome","homepage":"","size":1076,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":20,"forks":1,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CellProfiler/centrosome/pulls/44"},"html":{"href":"https://github.com/CellProfiler/centrosome/pull/44"},"issue":{"href":"https://api.github.com/repos/CellProfiler/centrosome/issues/44"},"comments":{"href":"https://api.github.com/repos/CellProfiler/centrosome/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/CellProfiler/centrosome/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/CellProfiler/centrosome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CellProfiler/centrosome/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/CellProfiler/centrosome/statuses/064432163f080b568ed43e5efde3fe56551ae2df"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"0x00B1","id":315821,"avatar_url":"https://avatars.githubusercontent.com/u/315821?v=3","gravatar_id":"","url":"https://api.github.com/users/0x00B1","html_url":"https://github.com/0x00B1","followers_url":"https://api.github.com/users/0x00B1/followers","following_url":"https://api.github.com/users/0x00B1/following{/other_user}","gists_url":"https://api.github.com/users/0x00B1/gists{/gist_id}","starred_url":"https://api.github.com/users/0x00B1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x00B1/subscriptions","organizations_url":"https://api.github.com/users/0x00B1/orgs","repos_url":"https://api.github.com/users/0x00B1/repos","events_url":"https://api.github.com/users/0x00B1/events{/privacy}","received_events_url":"https://api.github.com/users/0x00B1/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":114,"deletions":2,"changed_files":2}}