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
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
領域
regions
RegionMap
Required
各領域に1個ずつスタンプが置かれます
スタンプ
stamp
Image
Required
各領域に置く小さな画像です
下地
base
Image
スタンプを重ねる下地の画像です(任意)。繋がなければ透明キャンバスにスタンプだけが並びます

Output Ports

NameTypeDescription
出力
output
Image
各領域にスタンプが置かれた画像です

Parameters

NameTypeDefaultRangeDescription / Options
置く位置
anchor
Enum
Centroid

領域の中のどこにスタンプを置くかです

  • 重心Centroid
    領域の見た目の中心に置きます
  • 種点SeedPoint
    領域の種点(生成時の基準点)に置きます。種点がない領域では中心に置かれます
上下ずらし
offset_y
Int
0-64–64

全スタンプを上下にずらします(px、マイナスで上)。中心ではなく領域の足元に置きたいときなどに使います

位置ゆらぎ
jitter
Int
00–32

スタンプの位置を最大このpxだけランダムにずらします。機械的にきっちり並びすぎるのを防げます

ランダム反転
flip_random
Bool
false

約半分のスタンプを左右反転します。同じ絵でも並びに変化が出ます

シード
seed
Int
10–99999

位置ゆらぎとランダム反転のパターンを変えます

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
Region Stamp — PixPipeline Node Reference