Erase By Mask

Applies Erase By Mask compositing to the input image.

basic
Since P00

Input Ports

Image

削る対象のimage

Image
Mask

アルファ削りに使うマスクimage

Image

Output Ports

Image

マスクsubtraction後のimage

Image

Technical Details

  • Output sizeはInput imageのサイズです。
  • output_alpha = input_alpha * (1 - mask_alpha) で計算します。
  • RGB は保持し、アルファだけをsubtractionします。

Usage Examples

  • ShapeSweep で動かした円 mask を使って布端を削る
  • MaskBoolean(subtract) 後の mask を最終imageへ適用する

💡 Tips

  • Output sizeはInput imageのサイズです。
  • `output_alpha = input_alpha * (1 - mask_alpha)` で計算します。
  • RGB は保持し、アルファだけをsubtractionします。
Erase By Mask — PixPipeline Node Reference