{"action":"created","issue":{"url":"https://api.github.com/repos/stnava/ANTs/issues/207","labels_url":"https://api.github.com/repos/stnava/ANTs/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/stnava/ANTs/issues/207/comments","events_url":"https://api.github.com/repos/stnava/ANTs/issues/207/events","html_url":"https://github.com/stnava/ANTs/issues/207","id":94385390,"number":207,"title":"BUG: --minc flag in antsRegistration fails to write transform for combined Affine/Nonlinear Reigstration","user":{"login":"gdevenyi","id":3001850,"avatar_url":"https://avatars.githubusercontent.com/u/3001850?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevenyi","html_url":"https://github.com/gdevenyi","followers_url":"https://api.github.com/users/gdevenyi/followers","following_url":"https://api.github.com/users/gdevenyi/following{/other_user}","gists_url":"https://api.github.com/users/gdevenyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevenyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevenyi/subscriptions","organizations_url":"https://api.github.com/users/gdevenyi/orgs","repos_url":"https://api.github.com/users/gdevenyi/repos","events_url":"https://api.github.com/users/gdevenyi/events{/privacy}","received_events_url":"https://api.github.com/users/gdevenyi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-07-10T20:29:16Z","updated_at":"2015-07-22T15:48:04Z","closed_at":null,"body":"My antsRegistration call:\r\n```\r\nantsRegistration --dimensionality 3 --float 0 --collapse-output-transforms 1 --verbose --minc 1 --output [./OAS1_0001_MR1.mnc-mni_icbm152_t1_tal_nlin_sym_09c.mnc] --winsorize-image-intensities [0.01,0.99] --use-histogram-matching 1 --initial-moving-transform [/opt/quarantine/resources/mni_icbm152_nlin_sym_09c_minc2/mni_icbm152_t1_tal_nlin_sym_09c.mnc,OAS1_0001_MR1.mnc,1] --transform Rigid[0.2] --metric Mattes[/opt/quarantine/resources/mni_icbm152_nlin_sym_09c_minc2/mni_icbm152_t1_tal_nlin_sym_09c.mnc,OAS1_0001_MR1.mnc,1,32,Random,0.25] --convergence [2000x2000x2000x2000,1e-6,10] --shrink-factors 8x4x2x1 --smoothing-sigmas 3x2x1x0vox --transform Affine[0.5] --metric Mattes[/opt/quarantine/resources/mni_icbm152_nlin_sym_09c_minc2/mni_icbm152_t1_tal_nlin_sym_09c.mnc,OAS1_0001_MR1.mnc,1,32,Random,0.30] --convergence [2000x2000x2000x2000x2000,1e-6,10] --shrink-factors 8x8x4x2x1 --smoothing-sigmas 4x3x2x1x0vox --transform Affine[0.1] --metric Mattes[/opt/quarantine/resources/mni_icbm152_nlin_sym_09c_minc2/mni_icbm152_t1_tal_nlin_sym_09c.mnc,OAS1_0001_MR1.mnc,1,64,Random,0.30] --convergence [2000x2000x2000,1e-6,10] --shrink-factors 4x2x1 --smoothing-sigmas 2x1x0vox --transform SyN[0.5,3,0] --metric CC[/opt/quarantine/resources/mni_icbm152_nlin_sym_09c_minc2/mni_icbm152_t1_tal_nlin_sym_09c.mnc,OAS1_0001_MR1.mnc,1,4] --convergence [2000x1000x1000x100x20,1e-5,10] --shrink-factors 8x6x4x2x1 --smoothing-sigmas 4x3x2x1x0vox\r\n```\r\n\r\nThe output at the very end of the registration:\r\n```\r\nCan't write transform file ./OAS1_0001_MR1.mnc-mni_icbm152_t1_tal_nlin_sym_09c.mnc1.xfm\r\nException Object caught: \r\n\r\nitk::ImageFileWriterException (0x17ff210)\r\nLocation: \"unknown\" \r\nFile: /opt/quarantine/ANTs/git/src/build/ITKv4-install/include/ITK-4.9/itkImageFileWriter.hxx\r\nLine: 151\r\nDescription:  Could not create IO object for writing file ./OAS1_0001_MR1.mnc-mni_icbm152_t1_tal_nlin_sym_09c.mnc1.xfm\r\n  Tried to create one of the following:\r\n    NiftiImageIO\r\n    NrrdImageIO\r\n    GiplImageIO\r\n    HDF5ImageIO\r\n    JPEGImageIO\r\n    GDCMImageIO\r\n    BMPImageIO\r\n    LSMImageIO\r\n    PNGImageIO\r\n    TIFFImageIO\r\n    VTKImageIO\r\n    StimulateImageIO\r\n    BioRadImageIO\r\n    MetaImageIO\r\n    MRCImageIO\r\n    GE4ImageIO\r\n    GE5ImageIO\r\n    MINCImageIO\r\n    MGHImageIO\r\n  You probably failed to set a file suffix, or\r\n    set the suffix to an unsupported type.\r\n\r\n\r\n\r\nCan't write transform file ./OAS1_0001_MR1.mnc-mni_icbm152_t1_tal_nlin_sym_09c.mnc1_inverse.xfm\r\nException Object caught: \r\n\r\nitk::ImageFileWriterException (0x17ff210)\r\nLocation: \"unknown\" \r\nFile: /opt/quarantine/ANTs/git/src/build/ITKv4-install/include/ITK-4.9/itkImageFileWriter.hxx\r\nLine: 151\r\nDescription:  Could not create IO object for writing file ./OAS1_0001_MR1.mnc-mni_icbm152_t1_tal_nlin_sym_09c.mnc1_inverse.xfm\r\n  Tried to create one of the following:\r\n    NiftiImageIO\r\n    NrrdImageIO\r\n    GiplImageIO\r\n    HDF5ImageIO\r\n    JPEGImageIO\r\n    GDCMImageIO\r\n    BMPImageIO\r\n    LSMImageIO\r\n    PNGImageIO\r\n    TIFFImageIO\r\n    VTKImageIO\r\n    StimulateImageIO\r\n    BioRadImageIO\r\n    MetaImageIO\r\n    MRCImageIO\r\n    GE4ImageIO\r\n    GE5ImageIO\r\n    MINCImageIO\r\n    MGHImageIO\r\n  You probably failed to set a file suffix, or\r\n    set the suffix to an unsupported type.\r\n```"},"comment":{"url":"https://api.github.com/repos/stnava/ANTs/issues/comments/123765299","html_url":"https://github.com/stnava/ANTs/issues/207#issuecomment-123765299","issue_url":"https://api.github.com/repos/stnava/ANTs/issues/207","id":123765299,"user":{"login":"vfonov","id":628822,"avatar_url":"https://avatars.githubusercontent.com/u/628822?v=3","gravatar_id":"","url":"https://api.github.com/users/vfonov","html_url":"https://github.com/vfonov","followers_url":"https://api.github.com/users/vfonov/followers","following_url":"https://api.github.com/users/vfonov/following{/other_user}","gists_url":"https://api.github.com/users/vfonov/gists{/gist_id}","starred_url":"https://api.github.com/users/vfonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfonov/subscriptions","organizations_url":"https://api.github.com/users/vfonov/orgs","repos_url":"https://api.github.com/users/vfonov/repos","events_url":"https://api.github.com/users/vfonov/events{/privacy}","received_events_url":"https://api.github.com/users/vfonov/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T15:48:04Z","updated_at":"2015-07-22T15:48:04Z","body":"Adding   --shrink-factors 8x6x4x2x1  --smoothing-sigmas 4x3x2x1x0vox makes it work \r\n"}}