Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-NKD-VFX-Tools > 😺NKD Perspective Rewarp

ComfyUI Node: 😺NKD Perspective Rewarp

Class Name

NKDPerspectiveRewarp

Category
😺NKD Nodes/3D
Author
Nekodificador (Account age: 2602days)
Extension
ComfyUI-NKD-VFX-Tools
Latest Updated
2026-07-23
Github Stars
0.06K

How to Install ComfyUI-NKD-VFX-Tools

Install this extension via the ComfyUI Manager by searching for ComfyUI-NKD-VFX-Tools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-NKD-VFX-Tools in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

😺NKD Perspective Rewarp Description

Reverse perspective transformation node for seamless image integration and compositing adjustments with smooth transitions and feathering techniques.

😺NKD Perspective Rewarp:

The NKDPerspectiveRewarp node is designed to seamlessly integrate an edited, flattened image back into its original context by reversing the perspective transformation applied by the NKDPerspectiveUnwarp node. This node is particularly useful for compositing tasks where you need to make adjustments or enhancements to a specific region of an image and then reapply those changes to the original image. By utilizing the warp data generated during the unwarping process, NKDPerspectiveRewarp ensures that the edited section is accurately placed back into its original perspective, with smooth transitions at the edges. This is achieved through feathering techniques that blend the modified area with the surrounding pixels, maintaining a natural look. The node is essential for workflows involving perspective corrections and creative edits, allowing you to maintain the integrity of the original image while incorporating your enhancements.

😺NKD Perspective Rewarp Input Parameters:

image

The image parameter represents the edited, flattened image that you wish to composite back into the original photo. This input is crucial as it contains the modifications or enhancements you have made to the perspective-corrected region. The quality and resolution of this image will directly impact the final output, so ensure it matches the original image's specifications for optimal results.

warp_data

The warp_data parameter is a critical input that carries the homography information generated during the unwarping process. This data is used to accurately map the edited image back into its original perspective. Without this parameter, the node cannot correctly position the edited region, making it essential for the rewarping process.

feather

The feather parameter controls the smoothness of the transition between the edited region and the original image. A higher feather value results in a softer edge, which can help blend the edited area more naturally with the surrounding pixels. Adjust this parameter based on the level of blending required for your specific project.

edge_hardness

The edge_hardness parameter determines the sharpness of the edges around the composited region. A lower value will produce softer edges, while a higher value will create more defined boundaries. This parameter is useful for controlling the visual impact of the edited region within the original image.

match_colors

The match_colors parameter is used to adjust the color balance between the edited region and the original image. This ensures that the composited area does not stand out due to color discrepancies, providing a more cohesive final image. Use this parameter to fine-tune the color matching for a seamless integration.

seamless_edges

The seamless_edges parameter, when enabled, applies additional processing to ensure that the edges of the composited region blend seamlessly with the original image. This is particularly useful for avoiding visible seams or artifacts at the boundaries of the edited area.

transparent_bg

The transparent_bg parameter, when set to true, allows the background of the composited region to remain transparent. This is useful for scenarios where you want to overlay the edited region onto different backgrounds or when working with images that require transparency.

😺NKD Perspective Rewarp Output Parameters:

out

The out parameter is the final composited image, where the edited, flattened region has been accurately re-integrated into the original photo. This output reflects all the adjustments made through the input parameters, providing a seamless and natural-looking result.

mask

The mask parameter provides a mask of the composited region, indicating the areas of the image that have been modified. This output is useful for further processing or analysis, allowing you to isolate the edited region for additional adjustments or effects.

😺NKD Perspective Rewarp Usage Tips:

  • Ensure that the warp_data is correctly connected from the NKDPerspectiveUnwarp node to maintain accurate perspective mapping.
  • Adjust the feather and edge_hardness parameters to achieve the desired level of blending and edge definition for your specific project needs.
  • Use the match_colors parameter to harmonize the color tones between the edited region and the original image for a more cohesive look.

😺NKD Perspective Rewarp Common Errors and Solutions:

Missing warp_data connection

  • Explanation: The node requires warp data to accurately map the edited image back into its original perspective.
  • Solution: Ensure that the warp_data output from the NKDPerspectiveUnwarp node is correctly connected to the NKDPerspectiveRewarp node.

Color mismatch in composited image

  • Explanation: The colors of the edited region do not match the original image, causing a noticeable difference.
  • Solution: Use the match_colors parameter to adjust the color balance and achieve a seamless integration.

Visible seams at edges

  • Explanation: The edges of the composited region are not blending smoothly with the original image.
  • Solution: Increase the feather value or enable seamless_edges to improve the blending at the boundaries.

😺NKD Perspective Rewarp Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-NKD-VFX-Tools
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

😺NKD Perspective Rewarp