Adaptive-randomised self-calibration of electro-mechanical shutters for space imaging