{"action":"created","comment":{"url":"https://api.github.com/repos/arrayfire/arrayfire/pulls/comments/67249514","id":67249514,"diff_hunk":"@@ -1348,6 +1374,37 @@ extern \"C\" {\n     */\n     AFAPI af_err af_rgb2ycbcr(af_array* out, const af_array in, const af_ycc_std standard);\n #endif\n+\n+#if AF_API_VERSION >= 34\n+    /**\n+       C Interface for finding image moments\n+\n+       \\param[out] out is an array containing the calculated moments\n+       \\param[in]  in is an array of image(s)\n+       \\param[moment] is the moment(s) to calculate\n+       \\return     ref AF_SUCCESS if the moment calculation is successful,\n+       otherwise an appropriate error code is returned.\n+\n+       \\ingroup image_func_moments\n+    */\n+    AFAPI af_err af_moments(af_array *out, const af_array in, const af_moment_type moment);\n+#endif\n+\n+#if AF_API_VERSION >= 34\n+    /**\n+       C Interface for calculating image moment(s) of a single image\n+\n+       \\param[out] out is  a pointer to the outputted moment(s)","path":"include/af/image.h","position":57,"original_position":57,"commit_id":"58c9cb747e8ba3d347984fa3d07cf3d464257e16","original_commit_id":"58c9cb747e8ba3d347984fa3d07cf3d464257e16","user":{"login":"pavanky","id":364829,"avatar_url":"https://avatars.githubusercontent.com/u/364829?v=3","gravatar_id":"","url":"https://api.github.com/users/pavanky","html_url":"https://github.com/pavanky","followers_url":"https://api.github.com/users/pavanky/followers","following_url":"https://api.github.com/users/pavanky/following{/other_user}","gists_url":"https://api.github.com/users/pavanky/gists{/gist_id}","starred_url":"https://api.github.com/users/pavanky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavanky/subscriptions","organizations_url":"https://api.github.com/users/pavanky/orgs","repos_url":"https://api.github.com/users/pavanky/repos","events_url":"https://api.github.com/users/pavanky/events{/privacy}","received_events_url":"https://api.github.com/users/pavanky/received_events","type":"User","site_admin":false},"body":"Change the phrasing to be clearer. Also mention user needs to have adequate space allocated.","created_at":"2016-06-15T21:31:09Z","updated_at":"2016-06-15T21:31:09Z","html_url":"https://github.com/arrayfire/arrayfire/pull/1453#discussion_r67249514","pull_request_url":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453","_links":{"self":{"href":"https://api.github.com/repos/arrayfire/arrayfire/pulls/comments/67249514"},"html":{"href":"https://github.com/arrayfire/arrayfire/pull/1453#discussion_r67249514"},"pull_request":{"href":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453"}}},"pull_request":{"url":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453","id":72961666,"html_url":"https://github.com/arrayfire/arrayfire/pull/1453","diff_url":"https://github.com/arrayfire/arrayfire/pull/1453.diff","patch_url":"https://github.com/arrayfire/arrayfire/pull/1453.patch","issue_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1453","number":1453,"state":"open","locked":false,"title":"Image moments function","user":{"login":"syurkevi","id":4434164,"avatar_url":"https://avatars.githubusercontent.com/u/4434164?v=3","gravatar_id":"","url":"https://api.github.com/users/syurkevi","html_url":"https://github.com/syurkevi","followers_url":"https://api.github.com/users/syurkevi/followers","following_url":"https://api.github.com/users/syurkevi/following{/other_user}","gists_url":"https://api.github.com/users/syurkevi/gists{/gist_id}","starred_url":"https://api.github.com/users/syurkevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syurkevi/subscriptions","organizations_url":"https://api.github.com/users/syurkevi/orgs","repos_url":"https://api.github.com/users/syurkevi/repos","events_url":"https://api.github.com/users/syurkevi/events{/privacy}","received_events_url":"https://api.github.com/users/syurkevi/received_events","type":"User","site_admin":false},"body":"Implements m00, m01, m10, m11 image moments for all backends. Addresses #1325.\r\n ","created_at":"2016-06-07T22:50:19Z","updated_at":"2016-06-15T21:31:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9dc6fcfe2704fe2fa293cdb3a884721f371b922c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453/commits","review_comments_url":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453/comments","review_comment_url":"https://api.github.com/repos/arrayfire/arrayfire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1453/comments","statuses_url":"https://api.github.com/repos/arrayfire/arrayfire/statuses/58c9cb747e8ba3d347984fa3d07cf3d464257e16","head":{"label":"syurkevi:image_moments_devel","ref":"image_moments_devel","sha":"58c9cb747e8ba3d347984fa3d07cf3d464257e16","user":{"login":"syurkevi","id":4434164,"avatar_url":"https://avatars.githubusercontent.com/u/4434164?v=3","gravatar_id":"","url":"https://api.github.com/users/syurkevi","html_url":"https://github.com/syurkevi","followers_url":"https://api.github.com/users/syurkevi/followers","following_url":"https://api.github.com/users/syurkevi/following{/other_user}","gists_url":"https://api.github.com/users/syurkevi/gists{/gist_id}","starred_url":"https://api.github.com/users/syurkevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syurkevi/subscriptions","organizations_url":"https://api.github.com/users/syurkevi/orgs","repos_url":"https://api.github.com/users/syurkevi/repos","events_url":"https://api.github.com/users/syurkevi/events{/privacy}","received_events_url":"https://api.github.com/users/syurkevi/received_events","type":"User","site_admin":false},"repo":{"id":28361843,"name":"arrayfire","full_name":"syurkevi/arrayfire","owner":{"login":"syurkevi","id":4434164,"avatar_url":"https://avatars.githubusercontent.com/u/4434164?v=3","gravatar_id":"","url":"https://api.github.com/users/syurkevi","html_url":"https://github.com/syurkevi","followers_url":"https://api.github.com/users/syurkevi/followers","following_url":"https://api.github.com/users/syurkevi/following{/other_user}","gists_url":"https://api.github.com/users/syurkevi/gists{/gist_id}","starred_url":"https://api.github.com/users/syurkevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syurkevi/subscriptions","organizations_url":"https://api.github.com/users/syurkevi/orgs","repos_url":"https://api.github.com/users/syurkevi/repos","events_url":"https://api.github.com/users/syurkevi/events{/privacy}","received_events_url":"https://api.github.com/users/syurkevi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/syurkevi/arrayfire","description":"ArrayFire: a general purpose GPU library.","fork":true,"url":"https://api.github.com/repos/syurkevi/arrayfire","forks_url":"https://api.github.com/repos/syurkevi/arrayfire/forks","keys_url":"https://api.github.com/repos/syurkevi/arrayfire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syurkevi/arrayfire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syurkevi/arrayfire/teams","hooks_url":"https://api.github.com/repos/syurkevi/arrayfire/hooks","issue_events_url":"https://api.github.com/repos/syurkevi/arrayfire/issues/events{/number}","events_url":"https://api.github.com/repos/syurkevi/arrayfire/events","assignees_url":"https://api.github.com/repos/syurkevi/arrayfire/assignees{/user}","branches_url":"https://api.github.com/repos/syurkevi/arrayfire/branches{/branch}","tags_url":"https://api.github.com/repos/syurkevi/arrayfire/tags","blobs_url":"https://api.github.com/repos/syurkevi/arrayfire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syurkevi/arrayfire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syurkevi/arrayfire/git/refs{/sha}","trees_url":"https://api.github.com/repos/syurkevi/arrayfire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syurkevi/arrayfire/statuses/{sha}","languages_url":"https://api.github.com/repos/syurkevi/arrayfire/languages","stargazers_url":"https://api.github.com/repos/syurkevi/arrayfire/stargazers","contributors_url":"https://api.github.com/repos/syurkevi/arrayfire/contributors","subscribers_url":"https://api.github.com/repos/syurkevi/arrayfire/subscribers","subscription_url":"https://api.github.com/repos/syurkevi/arrayfire/subscription","commits_url":"https://api.github.com/repos/syurkevi/arrayfire/commits{/sha}","git_commits_url":"https://api.github.com/repos/syurkevi/arrayfire/git/commits{/sha}","comments_url":"https://api.github.com/repos/syurkevi/arrayfire/comments{/number}","issue_comment_url":"https://api.github.com/repos/syurkevi/arrayfire/issues/comments{/number}","contents_url":"https://api.github.com/repos/syurkevi/arrayfire/contents/{+path}","compare_url":"https://api.github.com/repos/syurkevi/arrayfire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syurkevi/arrayfire/merges","archive_url":"https://api.github.com/repos/syurkevi/arrayfire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syurkevi/arrayfire/downloads","issues_url":"https://api.github.com/repos/syurkevi/arrayfire/issues{/number}","pulls_url":"https://api.github.com/repos/syurkevi/arrayfire/pulls{/number}","milestones_url":"https://api.github.com/repos/syurkevi/arrayfire/milestones{/number}","notifications_url":"https://api.github.com/repos/syurkevi/arrayfire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syurkevi/arrayfire/labels{/name}","releases_url":"https://api.github.com/repos/syurkevi/arrayfire/releases{/id}","deployments_url":"https://api.github.com/repos/syurkevi/arrayfire/deployments","created_at":"2014-12-22T22:07:13Z","updated_at":"2014-12-22T22:07:14Z","pushed_at":"2016-06-15T21:24:37Z","git_url":"git://github.com/syurkevi/arrayfire.git","ssh_url":"git@github.com:syurkevi/arrayfire.git","clone_url":"https://github.com/syurkevi/arrayfire.git","svn_url":"https://github.com/syurkevi/arrayfire","homepage":"http://arrayfire.com","size":8589,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"devel"}},"base":{"label":"arrayfire:devel","ref":"devel","sha":"7db4cff00eabeba04d27704bcf4115fabb298b6a","user":{"login":"arrayfire","id":5395442,"avatar_url":"https://avatars.githubusercontent.com/u/5395442?v=3","gravatar_id":"","url":"https://api.github.com/users/arrayfire","html_url":"https://github.com/arrayfire","followers_url":"https://api.github.com/users/arrayfire/followers","following_url":"https://api.github.com/users/arrayfire/following{/other_user}","gists_url":"https://api.github.com/users/arrayfire/gists{/gist_id}","starred_url":"https://api.github.com/users/arrayfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrayfire/subscriptions","organizations_url":"https://api.github.com/users/arrayfire/orgs","repos_url":"https://api.github.com/users/arrayfire/repos","events_url":"https://api.github.com/users/arrayfire/events{/privacy}","received_events_url":"https://api.github.com/users/arrayfire/received_events","type":"Organization","site_admin":false},"repo":{"id":25889802,"name":"arrayfire","full_name":"arrayfire/arrayfire","owner":{"login":"arrayfire","id":5395442,"avatar_url":"https://avatars.githubusercontent.com/u/5395442?v=3","gravatar_id":"","url":"https://api.github.com/users/arrayfire","html_url":"https://github.com/arrayfire","followers_url":"https://api.github.com/users/arrayfire/followers","following_url":"https://api.github.com/users/arrayfire/following{/other_user}","gists_url":"https://api.github.com/users/arrayfire/gists{/gist_id}","starred_url":"https://api.github.com/users/arrayfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrayfire/subscriptions","organizations_url":"https://api.github.com/users/arrayfire/orgs","repos_url":"https://api.github.com/users/arrayfire/repos","events_url":"https://api.github.com/users/arrayfire/events{/privacy}","received_events_url":"https://api.github.com/users/arrayfire/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arrayfire/arrayfire","description":"ArrayFire: a general purpose GPU library.","fork":false,"url":"https://api.github.com/repos/arrayfire/arrayfire","forks_url":"https://api.github.com/repos/arrayfire/arrayfire/forks","keys_url":"https://api.github.com/repos/arrayfire/arrayfire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arrayfire/arrayfire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arrayfire/arrayfire/teams","hooks_url":"https://api.github.com/repos/arrayfire/arrayfire/hooks","issue_events_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/events{/number}","events_url":"https://api.github.com/repos/arrayfire/arrayfire/events","assignees_url":"https://api.github.com/repos/arrayfire/arrayfire/assignees{/user}","branches_url":"https://api.github.com/repos/arrayfire/arrayfire/branches{/branch}","tags_url":"https://api.github.com/repos/arrayfire/arrayfire/tags","blobs_url":"https://api.github.com/repos/arrayfire/arrayfire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arrayfire/arrayfire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arrayfire/arrayfire/git/refs{/sha}","trees_url":"https://api.github.com/repos/arrayfire/arrayfire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arrayfire/arrayfire/statuses/{sha}","languages_url":"https://api.github.com/repos/arrayfire/arrayfire/languages","stargazers_url":"https://api.github.com/repos/arrayfire/arrayfire/stargazers","contributors_url":"https://api.github.com/repos/arrayfire/arrayfire/contributors","subscribers_url":"https://api.github.com/repos/arrayfire/arrayfire/subscribers","subscription_url":"https://api.github.com/repos/arrayfire/arrayfire/subscription","commits_url":"https://api.github.com/repos/arrayfire/arrayfire/commits{/sha}","git_commits_url":"https://api.github.com/repos/arrayfire/arrayfire/git/commits{/sha}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire/comments{/number}","issue_comment_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/comments{/number}","contents_url":"https://api.github.com/repos/arrayfire/arrayfire/contents/{+path}","compare_url":"https://api.github.com/repos/arrayfire/arrayfire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arrayfire/arrayfire/merges","archive_url":"https://api.github.com/repos/arrayfire/arrayfire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arrayfire/arrayfire/downloads","issues_url":"https://api.github.com/repos/arrayfire/arrayfire/issues{/number}","pulls_url":"https://api.github.com/repos/arrayfire/arrayfire/pulls{/number}","milestones_url":"https://api.github.com/repos/arrayfire/arrayfire/milestones{/number}","notifications_url":"https://api.github.com/repos/arrayfire/arrayfire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arrayfire/arrayfire/labels{/name}","releases_url":"https://api.github.com/repos/arrayfire/arrayfire/releases{/id}","deployments_url":"https://api.github.com/repos/arrayfire/arrayfire/deployments","created_at":"2014-10-28T20:58:33Z","updated_at":"2016-06-15T05:42:52Z","pushed_at":"2016-06-15T21:24:38Z","git_url":"git://github.com/arrayfire/arrayfire.git","ssh_url":"git@github.com:arrayfire/arrayfire.git","clone_url":"https://github.com/arrayfire/arrayfire.git","svn_url":"https://github.com/arrayfire/arrayfire","homepage":"https://arrayfire.com","size":12634,"stargazers_count":1340,"watchers_count":1340,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"open_issues_count":126,"forks":199,"open_issues":126,"watchers":1340,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453"},"html":{"href":"https://github.com/arrayfire/arrayfire/pull/1453"},"issue":{"href":"https://api.github.com/repos/arrayfire/arrayfire/issues/1453"},"comments":{"href":"https://api.github.com/repos/arrayfire/arrayfire/issues/1453/comments"},"review_comments":{"href":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453/comments"},"review_comment":{"href":"https://api.github.com/repos/arrayfire/arrayfire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arrayfire/arrayfire/pulls/1453/commits"},"statuses":{"href":"https://api.github.com/repos/arrayfire/arrayfire/statuses/58c9cb747e8ba3d347984fa3d07cf3d464257e16"}}}}
{"actor":{"display_login":"pavanky"}}