Hi,

I see user can set sampling rate for image registration by the function “SetMetricSamplingPercentage”

If I understand correctly, after setting the sample rate, ITK will randomly choose a set of points and evaluate metric on those points. The set of points is fixed during iteration.

My question is, is there a way to use different sample for every iteration?

Or am I wrong that it is resampled every iteration?