{"action":"created","issue":{"url":"https://api.github.com/repos/aleju/imgaug/issues/63","repository_url":"https://api.github.com/repos/aleju/imgaug","labels_url":"https://api.github.com/repos/aleju/imgaug/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/aleju/imgaug/issues/63/comments","events_url":"https://api.github.com/repos/aleju/imgaug/issues/63/events","html_url":"https://github.com/aleju/imgaug/issues/63","id":259149934,"number":63,"title":"PiecewiseAffine returns (-1, -1) for augmented keypoints that would be outside the image","user":{"login":"NKlug","id":22690812,"avatar_url":"https://avatars0.githubusercontent.com/u/22690812?v=4","gravatar_id":"","url":"https://api.github.com/users/NKlug","html_url":"https://github.com/NKlug","followers_url":"https://api.github.com/users/NKlug/followers","following_url":"https://api.github.com/users/NKlug/following{/other_user}","gists_url":"https://api.github.com/users/NKlug/gists{/gist_id}","starred_url":"https://api.github.com/users/NKlug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NKlug/subscriptions","organizations_url":"https://api.github.com/users/NKlug/orgs","repos_url":"https://api.github.com/users/NKlug/repos","events_url":"https://api.github.com/users/NKlug/events{/privacy}","received_events_url":"https://api.github.com/users/NKlug/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-09-20T12:46:05Z","updated_at":"2017-10-01T12:31:45Z","closed_at":"2017-09-22T20:08:27Z","author_association":"NONE","body":"PiecewiseAffine returns (-1, -1), when the augmented keypoint would be outside of the image.\r\n\r\nCorresponding Code:\r\nhttps://github.com/aleju/imgaug/blob/c1aa569d15cd98ca77bd12af895ae088ec826c90/imgaug/augmenters/geometric.py#L796-L797\r\n\r\nAs I found out, the -1 is assigned in inverse() in skimage/transform/_geometric.py\r\n\r\nIs this intended? All the other augmentation techniques I've used so far just return the coordinates, even if they are bigger or smaller than the image dimensions.\r\n"},"comment":{"url":"https://api.github.com/repos/aleju/imgaug/issues/comments/333373484","html_url":"https://github.com/aleju/imgaug/issues/63#issuecomment-333373484","issue_url":"https://api.github.com/repos/aleju/imgaug/issues/63","id":333373484,"user":{"login":"aleju","id":11698516,"avatar_url":"https://avatars0.githubusercontent.com/u/11698516?v=4","gravatar_id":"","url":"https://api.github.com/users/aleju","html_url":"https://github.com/aleju","followers_url":"https://api.github.com/users/aleju/followers","following_url":"https://api.github.com/users/aleju/following{/other_user}","gists_url":"https://api.github.com/users/aleju/gists{/gist_id}","starred_url":"https://api.github.com/users/aleju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleju/subscriptions","organizations_url":"https://api.github.com/users/aleju/orgs","repos_url":"https://api.github.com/users/aleju/repos","events_url":"https://api.github.com/users/aleju/events{/privacy}","received_events_url":"https://api.github.com/users/aleju/received_events","type":"User","site_admin":false},"created_at":"2017-10-01T12:31:45Z","updated_at":"2017-10-01T12:31:45Z","author_association":"OWNER","body":"That line is before PiecewiseAffine warps the keypoints. So the input keypoints seem to already be wrong. Either the output of a different augmenter is wrong or your initial keypoint coordinates/shapes (before any augmentation) are wrong. Do you use any other augmenters that change keypoint positions?"}}
{"actor":{"display_login":"aleju"}}