Improved ImgCollectInput.