If I set a fixed mask I will get an error unless I set ErodeMask to false. If I set this parameter to true or skip defining it, the registration fails with error "Could not find enough image samples within reasonable time. Probably the mask is too small". This is the case for both SimpleElastix and the compiled Elastix (v. 5.0 ) I use for windows.
This caused me quite some times to find, since whenever I connected a mask with a default parameter file suppled by the software I got this error and I suspect many people trying SimpleElastix for the first time will face this error. I had to compare with parameter files I know worked with Elastix to find out what was wrong, and that I could also replicate the error in Elastix.
Hello.
If I set a fixed mask I will get an error unless I set ErodeMask to false. If I set this parameter to true or skip defining it, the registration fails with error "Could not find enough image samples within reasonable time. Probably the mask is too small". This is the case for both SimpleElastix and the compiled Elastix (v. 5.0 ) I use for windows.
This caused me quite some times to find, since whenever I connected a mask with a default parameter file suppled by the software I got this error and I suspect many people trying SimpleElastix for the first time will face this error. I had to compare with parameter files I know worked with Elastix to find out what was wrong, and that I could also replicate the error in Elastix.
Otherwise, thanks for a great tool!