{"action":"opened","issue":{"url":"https://api.github.com/repos/aleju/imgaug/issues/180","repository_url":"https://api.github.com/repos/aleju/imgaug","labels_url":"https://api.github.com/repos/aleju/imgaug/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/aleju/imgaug/issues/180/comments","events_url":"https://api.github.com/repos/aleju/imgaug/issues/180/events","html_url":"https://github.com/aleju/imgaug/issues/180","id":360977765,"node_id":"MDU6SXNzdWUzNjA5Nzc3NjU=","number":180,"title":"API for treating a bounding-box moved out of image boudary","user":{"login":"jaelim","id":7217547,"node_id":"MDQ6VXNlcjcyMTc1NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/7217547?v=4","gravatar_id":"","url":"https://api.github.com/users/jaelim","html_url":"https://github.com/jaelim","followers_url":"https://api.github.com/users/jaelim/followers","following_url":"https://api.github.com/users/jaelim/following{/other_user}","gists_url":"https://api.github.com/users/jaelim/gists{/gist_id}","starred_url":"https://api.github.com/users/jaelim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaelim/subscriptions","organizations_url":"https://api.github.com/users/jaelim/orgs","repos_url":"https://api.github.com/users/jaelim/repos","events_url":"https://api.github.com/users/jaelim/events{/privacy}","received_events_url":"https://api.github.com/users/jaelim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-17T17:56:36Z","updated_at":"2018-09-17T17:56:36Z","closed_at":null,"author_association":"NONE","body":"I used the API (`remove_out_of_image()` and `cut_out_of_image()` in combination) to deal with a bounding-box moved out of image region; it worked but not producing a desirable result. Specifically it's related to `piecewiseAffine` on an object very close to the right image boundary which pushed the object partially out towards right (checked that upper left corner coordinates are set to (-1, -1)). \r\n\r\nAfter applying `bbs_aug.remove_out_of_image().cut_out_of_image()`, the upper left corners are set rather incorrectly to (0,0). \r\n\r\nIs this cleaning method works only for the linear translation augmentation (as demonstrated in the doc example)? Or is there some way to deal with this correctly?\r\n "}}
{"actor":{"display_login":"jaelim"}}