{"action":"created","issue":{"url":"https://api.github.com/repos/SuperElastix/SimpleElastix/issues/179","repository_url":"https://api.github.com/repos/SuperElastix/SimpleElastix","labels_url":"https://api.github.com/repos/SuperElastix/SimpleElastix/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/SuperElastix/SimpleElastix/issues/179/comments","events_url":"https://api.github.com/repos/SuperElastix/SimpleElastix/issues/179/events","html_url":"https://github.com/SuperElastix/SimpleElastix/issues/179","id":313739462,"number":179,"title":"Does SimpleElastix support Super large size ( such as 12032x18176) images registration?","user":{"login":"cswin","id":28814000,"avatar_url":"https://avatars3.githubusercontent.com/u/28814000?v=4","gravatar_id":"","url":"https://api.github.com/users/cswin","html_url":"https://github.com/cswin","followers_url":"https://api.github.com/users/cswin/followers","following_url":"https://api.github.com/users/cswin/following{/other_user}","gists_url":"https://api.github.com/users/cswin/gists{/gist_id}","starred_url":"https://api.github.com/users/cswin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cswin/subscriptions","organizations_url":"https://api.github.com/users/cswin/orgs","repos_url":"https://api.github.com/users/cswin/repos","events_url":"https://api.github.com/users/cswin/events{/privacy}","received_events_url":"https://api.github.com/users/cswin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-12T13:58:33Z","updated_at":"2018-04-13T03:53:10Z","closed_at":null,"author_association":"NONE","body":"I am using the following code to do this. but the result shows only part of the image can be registered. \r\n\r\nNote: the fixed image is RGB one and the moving image is ycbcr one\r\nSo I convert them to grayscale before registration. \r\n\r\nimport SimpleITK as sitk\r\nresultImage = sitk.Elastix(sitk.ReadImage(\"fixed.tif\"),\r\n                           sitk.ReadImage(\"moving.tif\"),\r\n                           \"translation\")\r\nresultImage = sitk.Cast(resultImage, sitk.sitkUInt8)   \r\nsitk.WriteImage(resultImage, 'result.tif')\r\n\r\nI have shared super-images,  code, my own result in the below link.   \r\nhttps://drive.google.com/drive/folders/1o5AMXvQ8-eA0SpPeaAK4yNEf_ycCsbzf?usp=sharing\r\n\r\nDo I have to resize them to a smaller size before registration?\r\n\r\nThank you very much.  \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SuperElastix/SimpleElastix/issues/comments/381014171","html_url":"https://github.com/SuperElastix/SimpleElastix/issues/179#issuecomment-381014171","issue_url":"https://api.github.com/repos/SuperElastix/SimpleElastix/issues/179","id":381014171,"user":{"login":"cswin","id":28814000,"avatar_url":"https://avatars3.githubusercontent.com/u/28814000?v=4","gravatar_id":"","url":"https://api.github.com/users/cswin","html_url":"https://github.com/cswin","followers_url":"https://api.github.com/users/cswin/followers","following_url":"https://api.github.com/users/cswin/following{/other_user}","gists_url":"https://api.github.com/users/cswin/gists{/gist_id}","starred_url":"https://api.github.com/users/cswin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cswin/subscriptions","organizations_url":"https://api.github.com/users/cswin/orgs","repos_url":"https://api.github.com/users/cswin/repos","events_url":"https://api.github.com/users/cswin/events{/privacy}","received_events_url":"https://api.github.com/users/cswin/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T03:53:10Z","updated_at":"2018-04-13T03:53:10Z","author_association":"NONE","body":"@kaspermarstal  you are right.  I cannot resize the moving images. This will change the object shape and in turn, result in bad matching.   "}}
{"actor":{"display_login":"cswin"}}