Studio Yotsuba
Back to Node List

Region Stamp

region_stamp

Places one copy of a stamp image on every region — a flower on each grass patch, a window on each brick, a star on each voronoi cell. Unlike Mask Scatter (which sprinkles randomly), this guarantees exactly one stamp per region

Reviewed
Guide available

Input Ports

NameTypeDescription
Regions
regions
RegionMap
Required
Each region receives one stamp
Stamp
stamp
Image
Required
The small image to place on every region
Base
base
Image
Optional background to stamp onto. Leave empty to get stamps on a transparent canvas

Output Ports

NameTypeDescription
Output
output
Image
The canvas with one stamp per region

Parameters

NameTypeDefaultRangeDescription / Options
Anchor
anchor
Enum
Centroid—

Where inside each region the stamp goes

  • CentroidCentroid
    Place the stamp at the visual center of each region
  • SeedPointSeedPoint
    Place the stamp at each region's seed point (falls back to the center when a region has no seed point)
Offset Y
offset_y
Int
0-64–64

Shifts every stamp up (negative) or down (positive) in pixels. Useful to make stamps sit on the ground of each region instead of floating at the center

Jitter
jitter
Int
00–32

Randomly shifts each stamp by up to this many pixels, so the placement doesn't look machine-perfect

Random Flip
flip_random
Bool
false—

Mirrors roughly half of the stamps left-right, adding variety for free

Seed
seed
Int
10–99999

Changes the random jitter/flip pattern

Overview

Places exactly one decoration per region — a flower on every grass patch, a window on every brick, a star in every voronoi cell. Unlike mask_scatter, which sprinkles randomly, nothing is skipped and nothing piles up.

Usage tips

  • The go-to flow: region node + stamp image → region_stamp (connect the original picture to Base to stamp on top of it).
  • Centroid anchoring is the default; generated regions (voronoi etc.) also offer Seed Point, which looks a bit more organic.
  • 2–4 px of Jitter plus Random Flip removes the copy-paste look.
  • To stamp only some regions, put region_filter in front (by area, id or random selection).

Common mistakes

  • Stamps poke out of their regions — the stamp image is larger than the region. Use a smaller stamp, or merge tiny regions first with region_merge_small.
  • A region seems to get two stamps — stamps are one per region id, not per island. If the same id exists in two places, run region_split_islands first to stamp each island.

Related nodes

  • mask_scatter — "N copies scattered randomly" instead of one-per-region
  • region_filter — choose which regions get stamped (upstream)
  • region_split_islands — stamp per island rather than per id
Back to Node List