From 25684231bb484e92b22aa2f8ae37c2ccf56492da Mon Sep 17 00:00:00 2001 From: risunobushi <113669885+risunobushi@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:49:14 +0200 Subject: [PATCH] Added example --- ...requency_Separation_Recombine_example.json | 1163 +++++++++++++++++ 1 file changed, 1163 insertions(+) create mode 100644 Examples/Frequency_Separation_Recombine_example.json diff --git a/Examples/Frequency_Separation_Recombine_example.json b/Examples/Frequency_Separation_Recombine_example.json new file mode 100644 index 0000000..49c45ac --- /dev/null +++ b/Examples/Frequency_Separation_Recombine_example.json @@ -0,0 +1,1163 @@ +{ + "last_node_id": 88, + "last_link_id": 217, + "nodes": [ + { + "id": 20, + "type": "PreviewImage", + "pos": [ + 8741.99951171875, + 741.8890245225687 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 129 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 48, + "type": "PreviewImage", + "pos": [ + 9309.99951171875, + 744.8890245225687 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 137 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 47, + "type": "PreviewImage", + "pos": [ + 9059.99951171875, + 744.8890245225687 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 136 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 43, + "type": "FrequencyCombination", + "pos": [ + 8862.99951171875, + 1434.8890245225687 + ], + "size": { + "0": 218.39999389648438, + "1": 46 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "high_freq", + "type": "IMAGE", + "link": 217 + }, + { + "name": "low_freq", + "type": "IMAGE", + "link": 134 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 132 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "FrequencyCombination" + } + }, + { + "id": 45, + "type": "FrequencySeparation", + "pos": [ + 9094.99951171875, + 1075.8890245225687 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 216 + } + ], + "outputs": [ + { + "name": "high_freq", + "type": "IMAGE", + "links": [ + 136 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "low_freq", + "type": "IMAGE", + "links": [ + 134, + 137 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "FrequencySeparation" + }, + "widgets_values": [ + 2 + ] + }, + { + "id": 58, + "type": "PreviewImage", + "pos": [ + 10822.439995659719, + 709.9999999999998 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 170 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 64, + "type": "PreviewImage", + "pos": [ + 11142.439995659719, + 709.9999999999998 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 178 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 65, + "type": "PreviewImage", + "pos": [ + 11392.439995659719, + 709.9999999999998 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 179 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 12, + "type": "PreviewImage", + "pos": [ + 8446.99951171875, + 746.8890245225687 + ], + "size": { + "0": 232.2604217529297, + "1": 246 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 128 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 57, + "type": "PreviewImage", + "pos": [ + 10531.439995659719, + 721.9999999999998 + ], + "size": { + "0": 226.2604217529297, + "1": 246 + }, + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 169 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 46, + "type": "LoadImage", + "pos": [ + 9446.99951171875, + 1074.8890245225687 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 216 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_temp_kucfe_00039_.png", + "image" + ] + }, + { + "id": 1, + "type": "LoadImage", + "pos": [ + 8159.99951171875, + 1072.8890245225687 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 215 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "render-2 (4).png", + "image" + ] + }, + { + "id": 56, + "type": "LoadImage", + "pos": [ + 10245.439995659719, + 1048.9999999999998 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 203 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "start (2).jpg", + "image" + ] + }, + { + "id": 85, + "type": "JWImageResize", + "pos": [ + 10256.439995659719, + 1446.9999999999998 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 203 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 204 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "JWImageResize" + }, + "widgets_values": [ + 1024, + 1024, + "bicubic" + ] + }, + { + "id": 63, + "type": "LoadImage", + "pos": [ + 11532.439995659719, + 1039.9999999999998 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 205 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "relit (1).png", + "image" + ] + }, + { + "id": 74, + "type": "FrequencySeparationHSV", + "pos": [ + 11148.439995659719, + 1079.9999999999998 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 206 + } + ], + "outputs": [ + { + "name": "high_freq", + "type": "IMAGE", + "links": [ + 178, + 197 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "low_freq", + "type": "IMAGE", + "links": [ + 179, + 193, + 210 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "FrequencySeparationHSV" + }, + "widgets_values": [ + 3 + ] + }, + { + "id": 73, + "type": "FrequencySeparationHSV", + "pos": [ + 10665.439995659719, + 1077.9999999999998 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 204 + } + ], + "outputs": [ + { + "name": "high_freq", + "type": "IMAGE", + "links": [ + 169, + 198 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "low_freq", + "type": "IMAGE", + "links": [ + 170, + 211 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "FrequencySeparationHSV" + }, + "widgets_values": [ + 2 + ] + }, + { + "id": 88, + "type": "RemapImageRange", + "pos": [ + 10683.439995659719, + 1315.9999999999998 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 211 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 212 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "RemapImageRange" + }, + "widgets_values": [ + 0, + 0.2, + true + ] + }, + { + "id": 44, + "type": "PreviewImage", + "pos": [ + 8547, + 1553 + ], + "size": { + "0": 947.7154541015625, + "1": 685.6713256835938 + }, + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 132 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 80, + "type": "Image Comparer (rgthree)", + "pos": { + "0": 10723, + "1": 1675, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 803.5998263888869, + 507.30257331000394 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": 213, + "dir": 3 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": 214, + "dir": 3 + } + ], + "outputs": [], + "properties": { + "comparer_mode": "Slide" + }, + "widgets_values": [ + [ + "/view?filename=rgthree.compare._temp_xqnnz_00003_.png&type=temp&subfolder=&rand=0.5973948669786702", + "/view?filename=rgthree.compare._temp_xqnnz_00004_.png&type=temp&subfolder=&rand=0.7096063030616266" + ] + ] + }, + { + "id": 86, + "type": "JWImageResize", + "pos": [ + 11545, + 1441 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 205 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 206 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "JWImageResize" + }, + "widgets_values": [ + 1024, + 1024, + "bicubic" + ] + }, + { + "id": 60, + "type": "FrequencyCombination", + "pos": [ + 10839, + 1541 + ], + "size": { + "0": 218.39999389648438, + "1": 46 + }, + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "high_freq", + "type": "IMAGE", + "link": 197 + }, + { + "name": "low_freq", + "type": "IMAGE", + "link": 189 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 214 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "FrequencyCombination" + } + }, + { + "id": 78, + "type": "Image Blending Mode", + "pos": [ + 11162.439995659719, + 1334.9999999999998 + ], + "size": { + "0": 315, + "1": 102 + }, + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": 210 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": 212 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 189 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Blending Mode" + }, + "widgets_values": [ + "color", + 0.5 + ] + }, + { + "id": 42, + "type": "FrequencySeparation", + "pos": [ + 8621.99951171875, + 1070.8890245225687 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 215 + } + ], + "outputs": [ + { + "name": "high_freq", + "type": "IMAGE", + "links": [ + 128, + 217 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "low_freq", + "type": "IMAGE", + "links": [ + 129 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "FrequencySeparation" + }, + "widgets_values": [ + 2 + ] + }, + { + "id": 81, + "type": "FrequencyCombination", + "pos": [ + 11125, + 1538 + ], + "size": { + "0": 218.39999389648438, + "1": 46 + }, + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "high_freq", + "type": "IMAGE", + "link": 198 + }, + { + "name": "low_freq", + "type": "IMAGE", + "link": 193 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 213 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "FrequencyCombination" + } + } + ], + "links": [ + [ + 128, + 42, + 0, + 12, + 0, + "IMAGE" + ], + [ + 129, + 42, + 1, + 20, + 0, + "IMAGE" + ], + [ + 132, + 43, + 0, + 44, + 0, + "IMAGE" + ], + [ + 134, + 45, + 1, + 43, + 1, + "IMAGE" + ], + [ + 136, + 45, + 0, + 47, + 0, + "IMAGE" + ], + [ + 137, + 45, + 1, + 48, + 0, + "IMAGE" + ], + [ + 169, + 73, + 0, + 57, + 0, + "IMAGE" + ], + [ + 170, + 73, + 1, + 58, + 0, + "IMAGE" + ], + [ + 178, + 74, + 0, + 64, + 0, + "IMAGE" + ], + [ + 179, + 74, + 1, + 65, + 0, + "IMAGE" + ], + [ + 189, + 78, + 0, + 60, + 1, + "IMAGE" + ], + [ + 193, + 74, + 1, + 81, + 1, + "IMAGE" + ], + [ + 197, + 74, + 0, + 60, + 0, + "IMAGE" + ], + [ + 198, + 73, + 0, + 81, + 0, + "IMAGE" + ], + [ + 203, + 56, + 0, + 85, + 0, + "IMAGE" + ], + [ + 204, + 85, + 0, + 73, + 0, + "IMAGE" + ], + [ + 205, + 63, + 0, + 86, + 0, + "IMAGE" + ], + [ + 206, + 86, + 0, + 74, + 0, + "IMAGE" + ], + [ + 210, + 74, + 1, + 78, + 0, + "IMAGE" + ], + [ + 211, + 73, + 1, + 88, + 0, + "IMAGE" + ], + [ + 212, + 88, + 0, + 78, + 1, + "IMAGE" + ], + [ + 213, + 81, + 0, + 80, + 0, + "IMAGE" + ], + [ + 214, + 60, + 0, + 80, + 1, + "IMAGE" + ], + [ + 215, + 1, + 0, + 42, + 0, + "IMAGE" + ], + [ + 216, + 46, + 0, + 45, + 0, + "IMAGE" + ], + [ + 217, + 42, + 0, + 43, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "title": "Simple Separate / Recombine RGB", + "bounding": [ + 7969, + 601, + 2009, + 1669 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Advanced Separate / Recombine HSV", + "bounding": [ + 10016, + 605, + 2178, + 1668 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file