implemented new feats, fixed bugs.

This commit is contained in:
vincentfs
2025-12-08 15:30:14 +08:00
parent f82580e19e
commit 9a34deae25
8 changed files with 401 additions and 1046 deletions
+17 -1
View File
@@ -25,6 +25,8 @@ try:
"JsonLoad",
"NparraySave",
"NparrayLoad",
"SaveNparrayImage",
"PreviewNparrayImage",
"Printf",
"SliceList",
@@ -55,6 +57,7 @@ try:
"MedianBlur",
"Blur",
"Sobel",
"Canny",
"HoughLines",
"HoughLinesP",
@@ -86,9 +89,22 @@ try:
"KLargestPoints",
"PointToLineParams",
"IntersectImageWithMask",
"MorphologyByRegions",
"MorphologyByRegionsWithStats",
"DrawQuiver",
"LabelsToContours",
"ContoursToLabels",
"LabelsPreview",
"CreateGVF",
"GVFSnake",
):
if hasattr(nodes_xfeat, name):
AddMapping(getattr(nodes_xfeat, name))
# from .py.nodes_xfeat import MorphCloseByRegions
# AddMapping(MorphCloseByRegions)
except ImportError as e:
log("Premium nodes ignored", msg_color="BRIGHT_GREEN")