{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/chafey/cornerstone/pulls/36","id":58259696,"html_url":"https://github.com/chafey/cornerstone/pull/36","diff_url":"https://github.com/chafey/cornerstone/pull/36.diff","patch_url":"https://github.com/chafey/cornerstone/pull/36.patch","issue_url":"https://api.github.com/repos/chafey/cornerstone/issues/36","number":36,"state":"open","locked":false,"title":"Added canvasToPixel function for easier use in cornerstoneTools","user":{"login":"swederik","id":607793,"avatar_url":"https://avatars.githubusercontent.com/u/607793?v=3","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"body":"Not sure if we want this or not. It does the inverse of pixelToCanvas. It's a trivial function, but I needed canvas-to-pixel transformation and expected this to exist, but it didn't.","created_at":"2016-02-04T09:25:51Z","updated_at":"2016-02-04T09:25:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chafey/cornerstone/pulls/36/commits","review_comments_url":"https://api.github.com/repos/chafey/cornerstone/pulls/36/comments","review_comment_url":"https://api.github.com/repos/chafey/cornerstone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chafey/cornerstone/issues/36/comments","statuses_url":"https://api.github.com/repos/chafey/cornerstone/statuses/4c7a2a750806722424bb7a6638965acf3e9252da","head":{"label":"swederik:canvasToPixel","ref":"canvasToPixel","sha":"4c7a2a750806722424bb7a6638965acf3e9252da","user":{"login":"swederik","id":607793,"avatar_url":"https://avatars.githubusercontent.com/u/607793?v=3","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"repo":{"id":27591751,"name":"cornerstone","full_name":"swederik/cornerstone","owner":{"login":"swederik","id":607793,"avatar_url":"https://avatars.githubusercontent.com/u/607793?v=3","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swederik/cornerstone","description":"JavaScript library to display interactive medical images including but not limited to DICOM","fork":true,"url":"https://api.github.com/repos/swederik/cornerstone","forks_url":"https://api.github.com/repos/swederik/cornerstone/forks","keys_url":"https://api.github.com/repos/swederik/cornerstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swederik/cornerstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swederik/cornerstone/teams","hooks_url":"https://api.github.com/repos/swederik/cornerstone/hooks","issue_events_url":"https://api.github.com/repos/swederik/cornerstone/issues/events{/number}","events_url":"https://api.github.com/repos/swederik/cornerstone/events","assignees_url":"https://api.github.com/repos/swederik/cornerstone/assignees{/user}","branches_url":"https://api.github.com/repos/swederik/cornerstone/branches{/branch}","tags_url":"https://api.github.com/repos/swederik/cornerstone/tags","blobs_url":"https://api.github.com/repos/swederik/cornerstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swederik/cornerstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swederik/cornerstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/swederik/cornerstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swederik/cornerstone/statuses/{sha}","languages_url":"https://api.github.com/repos/swederik/cornerstone/languages","stargazers_url":"https://api.github.com/repos/swederik/cornerstone/stargazers","contributors_url":"https://api.github.com/repos/swederik/cornerstone/contributors","subscribers_url":"https://api.github.com/repos/swederik/cornerstone/subscribers","subscription_url":"https://api.github.com/repos/swederik/cornerstone/subscription","commits_url":"https://api.github.com/repos/swederik/cornerstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/swederik/cornerstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/swederik/cornerstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/swederik/cornerstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/swederik/cornerstone/contents/{+path}","compare_url":"https://api.github.com/repos/swederik/cornerstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swederik/cornerstone/merges","archive_url":"https://api.github.com/repos/swederik/cornerstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swederik/cornerstone/downloads","issues_url":"https://api.github.com/repos/swederik/cornerstone/issues{/number}","pulls_url":"https://api.github.com/repos/swederik/cornerstone/pulls{/number}","milestones_url":"https://api.github.com/repos/swederik/cornerstone/milestones{/number}","notifications_url":"https://api.github.com/repos/swederik/cornerstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swederik/cornerstone/labels{/name}","releases_url":"https://api.github.com/repos/swederik/cornerstone/releases{/id}","deployments_url":"https://api.github.com/repos/swederik/cornerstone/deployments","created_at":"2014-12-05T13:02:25Z","updated_at":"2014-12-05T13:02:26Z","pushed_at":"2016-02-04T09:24:00Z","git_url":"git://github.com/swederik/cornerstone.git","ssh_url":"git@github.com:swederik/cornerstone.git","clone_url":"https://github.com/swederik/cornerstone.git","svn_url":"https://github.com/swederik/cornerstone","homepage":"","size":2974,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"chafey:master","ref":"master","sha":"5fcbcaa3c7151f8f3b432811bce45443a9ea1a49","user":{"login":"chafey","id":1268698,"avatar_url":"https://avatars.githubusercontent.com/u/1268698?v=3","gravatar_id":"","url":"https://api.github.com/users/chafey","html_url":"https://github.com/chafey","followers_url":"https://api.github.com/users/chafey/followers","following_url":"https://api.github.com/users/chafey/following{/other_user}","gists_url":"https://api.github.com/users/chafey/gists{/gist_id}","starred_url":"https://api.github.com/users/chafey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chafey/subscriptions","organizations_url":"https://api.github.com/users/chafey/orgs","repos_url":"https://api.github.com/users/chafey/repos","events_url":"https://api.github.com/users/chafey/events{/privacy}","received_events_url":"https://api.github.com/users/chafey/received_events","type":"User","site_admin":false},"repo":{"id":17848424,"name":"cornerstone","full_name":"chafey/cornerstone","owner":{"login":"chafey","id":1268698,"avatar_url":"https://avatars.githubusercontent.com/u/1268698?v=3","gravatar_id":"","url":"https://api.github.com/users/chafey","html_url":"https://github.com/chafey","followers_url":"https://api.github.com/users/chafey/followers","following_url":"https://api.github.com/users/chafey/following{/other_user}","gists_url":"https://api.github.com/users/chafey/gists{/gist_id}","starred_url":"https://api.github.com/users/chafey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chafey/subscriptions","organizations_url":"https://api.github.com/users/chafey/orgs","repos_url":"https://api.github.com/users/chafey/repos","events_url":"https://api.github.com/users/chafey/events{/privacy}","received_events_url":"https://api.github.com/users/chafey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chafey/cornerstone","description":"JavaScript library to display interactive medical images including but not limited to DICOM","fork":false,"url":"https://api.github.com/repos/chafey/cornerstone","forks_url":"https://api.github.com/repos/chafey/cornerstone/forks","keys_url":"https://api.github.com/repos/chafey/cornerstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chafey/cornerstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chafey/cornerstone/teams","hooks_url":"https://api.github.com/repos/chafey/cornerstone/hooks","issue_events_url":"https://api.github.com/repos/chafey/cornerstone/issues/events{/number}","events_url":"https://api.github.com/repos/chafey/cornerstone/events","assignees_url":"https://api.github.com/repos/chafey/cornerstone/assignees{/user}","branches_url":"https://api.github.com/repos/chafey/cornerstone/branches{/branch}","tags_url":"https://api.github.com/repos/chafey/cornerstone/tags","blobs_url":"https://api.github.com/repos/chafey/cornerstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chafey/cornerstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chafey/cornerstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/chafey/cornerstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chafey/cornerstone/statuses/{sha}","languages_url":"https://api.github.com/repos/chafey/cornerstone/languages","stargazers_url":"https://api.github.com/repos/chafey/cornerstone/stargazers","contributors_url":"https://api.github.com/repos/chafey/cornerstone/contributors","subscribers_url":"https://api.github.com/repos/chafey/cornerstone/subscribers","subscription_url":"https://api.github.com/repos/chafey/cornerstone/subscription","commits_url":"https://api.github.com/repos/chafey/cornerstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/chafey/cornerstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/chafey/cornerstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/chafey/cornerstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/chafey/cornerstone/contents/{+path}","compare_url":"https://api.github.com/repos/chafey/cornerstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chafey/cornerstone/merges","archive_url":"https://api.github.com/repos/chafey/cornerstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chafey/cornerstone/downloads","issues_url":"https://api.github.com/repos/chafey/cornerstone/issues{/number}","pulls_url":"https://api.github.com/repos/chafey/cornerstone/pulls{/number}","milestones_url":"https://api.github.com/repos/chafey/cornerstone/milestones{/number}","notifications_url":"https://api.github.com/repos/chafey/cornerstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chafey/cornerstone/labels{/name}","releases_url":"https://api.github.com/repos/chafey/cornerstone/releases{/id}","deployments_url":"https://api.github.com/repos/chafey/cornerstone/deployments","created_at":"2014-03-18T00:25:35Z","updated_at":"2016-02-04T00:31:17Z","pushed_at":"2016-02-03T21:22:02Z","git_url":"git://github.com/chafey/cornerstone.git","ssh_url":"git@github.com:chafey/cornerstone.git","clone_url":"https://github.com/chafey/cornerstone.git","svn_url":"https://github.com/chafey/cornerstone","homepage":"","size":3179,"stargazers_count":211,"watchers_count":211,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":10,"forks":91,"open_issues":10,"watchers":211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chafey/cornerstone/pulls/36"},"html":{"href":"https://github.com/chafey/cornerstone/pull/36"},"issue":{"href":"https://api.github.com/repos/chafey/cornerstone/issues/36"},"comments":{"href":"https://api.github.com/repos/chafey/cornerstone/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/chafey/cornerstone/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/chafey/cornerstone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chafey/cornerstone/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/chafey/cornerstone/statuses/4c7a2a750806722424bb7a6638965acf3e9252da"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":56,"deletions":5,"changed_files":5}}