Visit ComfyUI Online for ready-to-use ComfyUI environment
Remap image regions within two parabolas with advanced control for non-linear manipulation and precise deformation.
The RemapInsideParabolasAdvanced
node is designed to remap image regions within two parabolas, providing advanced control over the transformation process. This node allows you to adjust the remapping both along the curve of the parabolas and orthogonally to them, offering a high degree of customization. The primary benefit of this node is its ability to manipulate image regions in a non-linear fashion, which can be particularly useful for artistic effects or specific image processing tasks that require precise control over the deformation of image areas. By leveraging advanced mathematical transformations, this node ensures that the remapped regions maintain a coherent and visually appealing structure, even when subjected to significant adjustments.
This parameter expects a mask image that contains two parabolas. The mask defines the regions of the image that will be remapped. The parabolas should be clearly defined within the mask to ensure accurate remapping. This input is crucial as it sets the boundaries for the transformation.
This is a float parameter that adjusts the remapping along the curve of the parabolas. The default value is 1, with a minimum of 0.3 and a maximum of 2, adjustable in steps of 0.01. Increasing this value will intensify the remapping effect along the curve, while decreasing it will soften the effect. This parameter allows you to control the degree of deformation along the parabolic curves.
This float parameter controls the remapping orthogonally to the parabolas. The default value is 1, with a minimum of 1 and a maximum of 3, adjustable in steps of 0.01. Adjusting this parameter affects how the image is stretched or compressed perpendicular to the parabolas, providing additional control over the transformation's intensity and direction.
This boolean parameter, with a default value of False, determines whether the orthogonal adjustment should be flipped. When set to True, the remapping effect orthogonal to the parabolas is inverted, which can be useful for achieving specific visual effects or correcting the orientation of the transformation.
This output provides the x-coordinates of the remapped image pixels. These coordinates are adjusted based on the input parameters and define the new horizontal positions of the pixels within the transformed image.
This output provides the y-coordinates of the remapped image pixels. Similar to the x-coordinates, these are adjusted according to the input parameters and define the new vertical positions of the pixels within the transformed image.
This output gives the bounding box coordinates of the region of interest (ROI) within the remapped image. The bounding box helps in identifying the area that has been affected by the transformation, which can be useful for further processing or analysis.
curve_wise_adjust
and ortho_wise_adjust
parameters to find the optimal settings for your specific artistic or processing needs.flip_ortho
parameter to invert the orthogonal adjustment if the initial transformation does not meet your expectations.<number>
contours.curve_wise_adjust
and ortho_wise_adjust
parameters.curve_wise_adjust
and ortho_wise_adjust
parameters incrementally to achieve the desired remapping effect. Preview the changes to ensure the transformation is as expected.© Copyright 2024 RunComfy. All Rights Reserved.