ComfyUI Node

Create Pole Mask

Create a circular pole mask. Mode 'face' outputs a centered circle mask on a face. Mode 'equirectangular' maps circles on Up/Down cube faces back to equirectangular.

By cedarconnor·Created about a year ago·Updated 6 months ago· 2
Create Pole Mask
  • image
  • pole_mask
circle_radius0.10
pixel_radius0
feather0
modeface
face_size512
CategoryLatLong/Mask

Inputs (6)

NameTypeDefaultDescription
imageIMAGEReference IMAGE (face or equirectangular) used to size the mask.
circle_radiusFLOAT0.100–1Circle radius as a fraction of the max possible radius (min(H,W)/2). Ignored if pixel_radius > 0.
pixel_radiusINT00–8192Circle radius in pixels (overrides circle_radius if > 0).
featherINT00–4096Feather width in pixels.
modeCOMBOfaceface: mask matches input face dimensions. equirectangular: creates masks on Up/Down cube faces then maps back to equirectangular.
face_sizeoptINT512-1–4096Only used for mode=equirectangular. Cubemap face size to generate the pole mask. Set to -1 for auto (H//2).

Outputs (1)

NameTypeDescription
pole_maskMASK