{"action":"created","issue":{"url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/71","labels_url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/71/comments","events_url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/71/events","html_url":"https://github.com/cpvrlab/ImagePlay/issues/71","id":101148757,"number":71,"title":"Implement Gradient operator","user":{"login":"LavrentyLavrov","id":13771878,"avatar_url":"https://avatars.githubusercontent.com/u/13771878?v=3","gravatar_id":"","url":"https://api.github.com/users/LavrentyLavrov","html_url":"https://github.com/LavrentyLavrov","followers_url":"https://api.github.com/users/LavrentyLavrov/followers","following_url":"https://api.github.com/users/LavrentyLavrov/following{/other_user}","gists_url":"https://api.github.com/users/LavrentyLavrov/gists{/gist_id}","starred_url":"https://api.github.com/users/LavrentyLavrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LavrentyLavrov/subscriptions","organizations_url":"https://api.github.com/users/LavrentyLavrov/orgs","repos_url":"https://api.github.com/users/LavrentyLavrov/repos","events_url":"https://api.github.com/users/LavrentyLavrov/events{/privacy}","received_events_url":"https://api.github.com/users/LavrentyLavrov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cpvrlab/ImagePlay/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cpvrlab/ImagePlay/milestones/2","html_url":"https://github.com/cpvrlab/ImagePlay/milestones/6.1.0-beta.1","labels_url":"https://api.github.com/repos/cpvrlab/ImagePlay/milestones/2/labels","id":1037111,"number":2,"title":"6.1.0-beta.1","description":"","creator":{"login":"l00mi","id":502518,"avatar_url":"https://avatars.githubusercontent.com/u/502518?v=3","gravatar_id":"","url":"https://api.github.com/users/l00mi","html_url":"https://github.com/l00mi","followers_url":"https://api.github.com/users/l00mi/followers","following_url":"https://api.github.com/users/l00mi/following{/other_user}","gists_url":"https://api.github.com/users/l00mi/gists{/gist_id}","starred_url":"https://api.github.com/users/l00mi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l00mi/subscriptions","organizations_url":"https://api.github.com/users/l00mi/orgs","repos_url":"https://api.github.com/users/l00mi/repos","events_url":"https://api.github.com/users/l00mi/events{/privacy}","received_events_url":"https://api.github.com/users/l00mi/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":4,"state":"open","created_at":"2015-03-24T20:27:58Z","updated_at":"2015-08-26T14:57:54Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-08-15T06:58:11Z","updated_at":"2015-09-03T02:12:21Z","closed_at":null,"body":"Application instantly crashes when i drag arrow to the gradient operator."},"comment":{"url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/comments/137301792","html_url":"https://github.com/cpvrlab/ImagePlay/issues/71#issuecomment-137301792","issue_url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/71","id":137301792,"user":{"login":"ladotonia","id":13857752,"avatar_url":"https://avatars.githubusercontent.com/u/13857752?v=3","gravatar_id":"","url":"https://api.github.com/users/ladotonia","html_url":"https://github.com/ladotonia","followers_url":"https://api.github.com/users/ladotonia/followers","following_url":"https://api.github.com/users/ladotonia/following{/other_user}","gists_url":"https://api.github.com/users/ladotonia/gists{/gist_id}","starred_url":"https://api.github.com/users/ladotonia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladotonia/subscriptions","organizations_url":"https://api.github.com/users/ladotonia/orgs","repos_url":"https://api.github.com/users/ladotonia/repos","events_url":"https://api.github.com/users/ladotonia/events{/privacy}","received_events_url":"https://api.github.com/users/ladotonia/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T02:12:21Z","updated_at":"2015-09-03T02:12:21Z","body":"I've got a preliminary version with the gradient operators listed.  I was not entirely sure what Cubic Spline was intended to be, so I opted to go with a bicubic interpolation and calculate the gradient based on that.\r\n\r\nThe original crasher was a bug in the constructor of an IMAGE_ORIENTED not having enough planes to support the data being inserted into it.\r\n\r\nI also am not 100% sure how these should operate if useOpenCv is not set.  Fast gradient doesn't use OpenCV at all, where all the others do.  Sobel is an opencv function, Roberts is implemented using filter2D(), and the Bicubic interpolation only uses the matrix multiply/dot operations from OpenCV.\r\n\r\nHere's a link to my branch with the code.  I can create a pull request once I can incorporate some feedback on dealing with the OpenCV setting.\r\nladotonia@32cb3afd8c3295e6d19a6c04c4ec081bb5ad0274"}}