ComfyUI/comfy_extras
petercham 1a9afcd291
Update nodes_mask.py
Update GrowMask class:

1. When the expand parameter is set to more than 16384, it is executed directly by MAX_RESOLUTION;
2, use OpenCV's erode and dilate functions to replace scipy, performance is greatly improved;
3, added factor INPUT_TYPE;
4, added the area factor into iterative steps of the gradient algorithm function "convert_area_factor_to_iterations", to reduce computational consumption
2024-06-15 01:22:11 +08:00
..
2024-05-27 19:08:27 -04:00
2024-06-15 01:22:11 +08:00
2023-12-20 16:22:18 -05:00
2024-05-27 19:08:27 -04:00
2024-05-27 19:08:27 -04:00
2024-03-18 16:54:13 -04:00
2024-03-18 16:54:13 -04:00
2024-05-17 13:16:08 -04:00