SpeedSix.PatchTex (Discreet Box22)
PURPOSE
Try to assemble a visually seamless, but not entirely repetitive, texture as the output image by "intelligently" selecting small regions of the input image and "intelligently" combining them. The size and approximate location of the "small regions" from the input image is user controlled. For background information, see "Image Quilting for Texture Synthesis and Transfer", Efros & Freeman, Computer Graphics Proceedings, Annual Conference Series, 2001.
INPUT CLIPS
1: Texture Input
: A selected area from this image is used as the texture tile.
2: Matte
: Modulate the texture with the luminance of this clip.
PatchTex CONTROL PAGE
ROI Centre (Position Default: 0.5, 0.5)
The centre of the Textural region of interest
ROI Block SizeX (Number Min: 0.001, Max: 0.20, Default: 0.05)
Controls the size of the texture block from which synthesis is performed
ROI Block SizeY (Number Min: 0.001, Max: 0.20, Default: 0.05)
Controls the size of the texture block from which synthesis is performed
ROI Search SizeX (Number Min: 0.001, Max: 0.500, Default: 0.070)
Controls the size of the supporting search region
ROI Search SizeY (Number Min: 0.001, Max: 0.500, Default: 0.070)
Controls the size of the supporting search region
Normalise Sample (Checkbox Default: Off)
Normalise the texture sample. This is really only useful for stochastic textures.
Detail (Number Min: 0.00, Max: 0.50, Default: 0.20)
Controls the amount of detail that is preserved in the Set image to obtain the background illumination. Setting this to a low value will result in quite a heavy loss of detail in the normalised set image. Animating this value can result in some interesting effects.
Use Matte (Checkbox Default: Off)
Filter the generated texture with the Matte image.
Invert Matte (Checkbox Default: Off)
Flip the Matte.
Advanced CONTROL PAGE
Advanced Settings (Checkbox Default: Off)
Displays advanced settings for those who know what they are doing here.
Block Overlap (Number Min: 0.20, Max: 0.50, Default: 0.25)
Controls the amount of overlap in each block.
Search Scale (Number Min: 0.00, Max: 1.00, Default: 0.85)
Controls how accurately the search is performed. High values imply that more candidates are examined but the processing speed is slow and vice versa.
BlurPath Radius (Number Min: 0, Max: 4, Default: 0)
Control to activate the blurring of the quilt path. In pixels, this is a bit draconian at the moment since we are using the box filter.
Orientation (List Box Options: Vertical | Horizontal | Isotropic, Default: Isotropic)
If the texture has a given orientation then select appropriatly. We might do something nifty here in the Fourier domain to see if there are any dominant directions present. We don't in this release.
Tolerance -/+ (Number Min: 0.0001, Max: 1.0000, Default: 0.2010)
Controls the tolerance to which possible patch candidates must fall into before being considered. ( Value presented in terms of the +/- % of the minimum error over all possibilities ). A small value is useful for deterministic/coarse-grained textures such as brick walls etc, whilst better results are often obtain with a high value for stochastic/fine-grained textures such as sand as this avoids excessive repeatedness.