Nodes/ComfyUI-AffineImage/🔄 AffineTransform2img
ComfyUI Node

🔄 AffineTransform2img

# 透视变换屏幕映射器 **使用四个角点执行透视变换:** **输入:** - 背景图像:包含屏幕的图像 - 源图像:要映射到屏幕的内容 - 四个点:从Canvas选择器获得的角点坐标 **输出:** - 映射后的完整图像 - 裁剪的屏幕区域 - 屏幕区域遮罩 **混合模式:** replace, overlay, multiply, screen

By GuardSkill·Created 12 months ago·Updated 9 months ago· 6
🔄 AffineTransform2img
  • background_image
  • source_image
  • mapped_image
  • cropped_screen
  • screen_mask
four_points
blend_modereplace
opacity1.00
crop_to_screentrue
CategoryImageNodes

Inputs (6)

NameTypeDefaultDescription
background_imageIMAGE
source_imageIMAGE
four_pointsSTRING
blend_modeoptCOMBOreplace4 options: replace, overlay, multiply, screen
opacityoptFLOAT1.000–1
crop_to_screenoptBOOLEANtrue

Outputs (3)

NameTypeDescription
mapped_imageIMAGE
cropped_screenIMAGE
screen_maskMASK