An iterated randomized search algorithm for large-scale texture synthesis and manipulations