ComfyUI Node
ImageTPSWarp(mki-TPS图像变形)
Warp an image using Thin Plate Spline (TPS) based on source and target masks. 基于源遮罩和目标遮罩使用薄板样条(TPS)对图像进行变形。
ImageTPSWarp(mki-TPS图像变形)
- source_image
- target_mask
- source_mask
- IMAGE
◄n_points150►
◄smoothness0.1►
CategoryMakkiTools
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| source_image | IMAGE | Source image to be warped 源图像,将被变形 | |
| target_mask | MASK | Target mask to warp the source image to 目标遮罩,将源图像变形到此形状 | |
| n_points | INT | 15010–500 | Number of points to sample from contours 从轮廓采样的点数 |
| smoothness | FLOAT | 0.10–10 | Smoothness factor for TPS warping (lower = more precise to contours) TPS变形的平滑系数(越低=对轮廓越精确) |
| source_maskopt | MASK | Mask for the source image (optional, if not provided, the whole image will be used) 源图像的遮罩(可选,如果不提供,将使用整个图像) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |