{"action":"created","issue":{"url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/179","labels_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/179/comments","events_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/179/events","html_url":"https://github.com/BRAINSia/BRAINSTools/issues/179","id":59699601,"number":179,"title":"ROIAuto is NOT equivalent to manual cropping to non-zero part","user":{"login":"dzenanz","id":1792121,"avatar_url":"https://avatars.githubusercontent.com/u/1792121?v=3","gravatar_id":"","url":"https://api.github.com/users/dzenanz","html_url":"https://github.com/dzenanz","followers_url":"https://api.github.com/users/dzenanz/followers","following_url":"https://api.github.com/users/dzenanz/following{/other_user}","gists_url":"https://api.github.com/users/dzenanz/gists{/gist_id}","starred_url":"https://api.github.com/users/dzenanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzenanz/subscriptions","organizations_url":"https://api.github.com/users/dzenanz/orgs","repos_url":"https://api.github.com/users/dzenanz/repos","events_url":"https://api.github.com/users/dzenanz/events{/privacy}","received_events_url":"https://api.github.com/users/dzenanz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-03T20:21:29Z","updated_at":"2015-04-16T20:48:45Z","closed_at":null,"body":"Executing BRAINSFit with ROIAuto set to ON is not equivalent to running BRAINSROIAuto and then feeding cropped images into BRAINSFit. I was using useMomentsAlign in both cases.\r\n\r\n[Pyhton source code fragment exemplifying the issue](https://gist.github.com/dzenanz/bec172bd4af1f1527cf1)\r\n[Fixed image](https://drive.google.com/file/d/0ByGZiVpMK4MXMEhJeW9OelhweVk/view?usp=sharing)\r\n[Moving image](https://drive.google.com/file/d/0ByGZiVpMK4MXOHhac2loOEV4NUE/view?usp=sharing)\r\n[Discussion (Context)](http://slicer-users.65878.n3.nabble.com/Tough-cases-for-automatic-registration-tp4028581p4028599.html)"},"comment":{"url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/comments/93836463","html_url":"https://github.com/BRAINSia/BRAINSTools/issues/179#issuecomment-93836463","issue_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/179","id":93836463,"user":{"login":"hjmjohnson","id":313970,"avatar_url":"https://avatars.githubusercontent.com/u/313970?v=3","gravatar_id":"","url":"https://api.github.com/users/hjmjohnson","html_url":"https://github.com/hjmjohnson","followers_url":"https://api.github.com/users/hjmjohnson/followers","following_url":"https://api.github.com/users/hjmjohnson/following{/other_user}","gists_url":"https://api.github.com/users/hjmjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/hjmjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjmjohnson/subscriptions","organizations_url":"https://api.github.com/users/hjmjohnson/orgs","repos_url":"https://api.github.com/users/hjmjohnson/repos","events_url":"https://api.github.com/users/hjmjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/hjmjohnson/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T20:48:45Z","updated_at":"2015-04-16T20:48:45Z","body":"Correct.  The ROIAuto flag does not crop the data internally in BRAINSFit.  It only identifies the mask. \r\n\r\nThe cropping option of the stand alone BRAINSROIAuto is for different purpose.\r\n\r\n"}}