{"action":"created","issue":{"url":"https://api.github.com/repos/menpo/menpo/issues/449","labels_url":"https://api.github.com/repos/menpo/menpo/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/menpo/menpo/issues/449/comments","events_url":"https://api.github.com/repos/menpo/menpo/issues/449/events","html_url":"https://github.com/menpo/menpo/issues/449","id":44575137,"number":449,"title":"Undesired behaviour of warp_to_mask in MaskedImage","user":{"login":"jalabort","id":2472200,"avatar_url":"https://avatars.githubusercontent.com/u/2472200?v=3","gravatar_id":"","url":"https://api.github.com/users/jalabort","html_url":"https://github.com/jalabort","followers_url":"https://api.github.com/users/jalabort/followers","following_url":"https://api.github.com/users/jalabort/following{/other_user}","gists_url":"https://api.github.com/users/jalabort/gists{/gist_id}","starred_url":"https://api.github.com/users/jalabort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalabort/subscriptions","organizations_url":"https://api.github.com/users/jalabort/orgs","repos_url":"https://api.github.com/users/jalabort/repos","events_url":"https://api.github.com/users/jalabort/events{/privacy}","received_events_url":"https://api.github.com/users/jalabort/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/menpo/menpo/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/menpo/menpo/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/menpo/menpo/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"jalabort","id":2472200,"avatar_url":"https://avatars.githubusercontent.com/u/2472200?v=3","gravatar_id":"","url":"https://api.github.com/users/jalabort","html_url":"https://github.com/jalabort","followers_url":"https://api.github.com/users/jalabort/followers","following_url":"https://api.github.com/users/jalabort/following{/other_user}","gists_url":"https://api.github.com/users/jalabort/gists{/gist_id}","starred_url":"https://api.github.com/users/jalabort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalabort/subscriptions","organizations_url":"https://api.github.com/users/jalabort/orgs","repos_url":"https://api.github.com/users/jalabort/repos","events_url":"https://api.github.com/users/jalabort/events{/privacy}","received_events_url":"https://api.github.com/users/jalabort/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/menpo/menpo/milestones/3","labels_url":"https://api.github.com/repos/menpo/menpo/milestones/3/labels","id":811531,"number":3,"title":"0.4.0","description":"A major update of Menpo bringing features as functions, cleaner warping API, rich visualization, and serialization to HDF5 objects.","creator":{"login":"jabooth","id":1312873,"avatar_url":"https://avatars.githubusercontent.com/u/1312873?v=3","gravatar_id":"","url":"https://api.github.com/users/jabooth","html_url":"https://github.com/jabooth","followers_url":"https://api.github.com/users/jabooth/followers","following_url":"https://api.github.com/users/jabooth/following{/other_user}","gists_url":"https://api.github.com/users/jabooth/gists{/gist_id}","starred_url":"https://api.github.com/users/jabooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabooth/subscriptions","organizations_url":"https://api.github.com/users/jabooth/orgs","repos_url":"https://api.github.com/users/jabooth/repos","events_url":"https://api.github.com/users/jabooth/events{/privacy}","received_events_url":"https://api.github.com/users/jabooth/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":17,"state":"open","created_at":"2014-10-02T15:11:51Z","updated_at":"2015-01-03T10:47:03Z","due_on":"2014-10-24T07:00:00Z","closed_at":null},"comments":7,"created_at":"2014-10-01T15:13:39Z","updated_at":"2015-01-14T09:08:00Z","closed_at":null,"body":"The method `warp_to_mask` in `MaskedImage` always warps the mask on the particular `MaskedImage` from which the method is executed. \r\n\r\nWhile this makes a lot of sense in general, it might cause problems when using `AAMs`. In particular, for some edge cases the `warped image` and the `reference frame` end up having different number of pixels which causes the AAM fitting to crash.\r\n\r\nThis can be easily solved by bringing back the old `kwarg` `warp_mask` but because `warp_to_mask` is a very general method I though I would open this issue for further discussion."},"comment":{"url":"https://api.github.com/repos/menpo/menpo/issues/comments/69887722","html_url":"https://github.com/menpo/menpo/issues/449#issuecomment-69887722","issue_url":"https://api.github.com/repos/menpo/menpo/issues/449","id":69887722,"user":{"login":"jabooth","id":1312873,"avatar_url":"https://avatars.githubusercontent.com/u/1312873?v=3","gravatar_id":"","url":"https://api.github.com/users/jabooth","html_url":"https://github.com/jabooth","followers_url":"https://api.github.com/users/jabooth/followers","following_url":"https://api.github.com/users/jabooth/following{/other_user}","gists_url":"https://api.github.com/users/jabooth/gists{/gist_id}","starred_url":"https://api.github.com/users/jabooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabooth/subscriptions","organizations_url":"https://api.github.com/users/jabooth/orgs","repos_url":"https://api.github.com/users/jabooth/repos","events_url":"https://api.github.com/users/jabooth/events{/privacy}","received_events_url":"https://api.github.com/users/jabooth/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T09:08:00Z","updated_at":"2015-01-14T09:08:00Z","body":"@jalabort did you look into this? I think we just decided to raise a warning if using masked images in fitting. This will now be on menpofit, so once it's done over there we can close this issue."}}