Write streamable deformation estimation filters

From OTBWiki
Jump to: navigation, search

Luckily, the NCCRegistrationFilter has already been turned streamable.

I did the same for MIRegistrationFilter.

The tests have been added as well. They show the fact that the MIRegistrationFilter is causing a segmentation fault. Looking at the code it seems that the MIRegistrationFunction is iterating on the largest possible region of the fixed image, which might cause the problem. This is only a guess, since this filter have not been used already.