Repeat

The Repeat transformation lets you apply multiple random copies of a set of overlay images to the input image. In the example illustrated below, images of two leaves with associated masks are painted 10 times over a black background image in varying sizes and orientations. Up to 4 different randomly selected images can be applied to the background. The resulting images can be seamlessly tiled since overlay images that fall outside the background image are wrapped around to the opposite side of the image. The input image defines the background on which overlay images are superimposed. All images must be the same type as the background image, and the output image is the same size and type as the input image.

 

Number of repetitions

This control sets the number of copies of an overlay image is applied to the background image.

New

Clicking this button generates a new random pattern using the current settings.

Overlay Images and Masks

You can define up to 4 overlay images, and each one can have an associated mask. For each repetition, a non-blank overlay image is selected at random and applied to the background image. If an overlay mask is present, only the areas where the mask is white are applied.

Scale

This double slider lets you select a range of scale factors applied to overlay images. A scale factor of 100% corresponds to applying the overlay image at its full resolution. Scale factors are chosen at random between the values defined by the white and black sliders. It does not matter which slider marks the lower or upper end of the range.

Rotation

This double slider lets you select a range of rotation angles applied to overlay images. Rotation angles are chosen at random between the values defined by the white and black sliders. It does not matter which slider marks the lower or upper end of the range.