Skip to content

Commit 034cb5d

Browse files
authored
Merge pull request #8 from FuouM/stab
StabStitch
2 parents 82475dc + 274649f commit 034cb5d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3206
-11
lines changed

README.md

Lines changed: 32 additions & 3 deletions

__init__.py

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
from .run import WFEN, RealViFormerSR, ProPIH_Harmonizer, CoLIE_LowLight_Enhance
2-
1+
from .run import (
2+
WFEN,
3+
CoLIE_LowLight_Enhance,
4+
ProPIH_Harmonizer,
5+
RealViFormerSR,
6+
)
37
from .run_convir import (
8+
ConvIR_DefocusDeblur,
49
ConvIR_DeHaze,
510
ConvIR_DeRain,
611
ConvIR_DeSnow,
712
ConvIR_MotionDeBlur,
8-
ConvIR_DefocusDeblur,
13+
)
14+
from .run_stabstitch import (
15+
StabStitch_Crop_Resize,
16+
StabStitch_Stabilize,
17+
StabStitch_Stitch,
918
)
1019

1120
NODE_CLASS_MAPPINGS = {
@@ -18,6 +27,9 @@
1827
"ConvIR_DeSnow": ConvIR_DeSnow,
1928
"ConvIR_MotionDeBlur": ConvIR_MotionDeBlur,
2029
"ConvIR_DefocusDeblur": ConvIR_DefocusDeblur,
30+
"StabStitch": StabStitch_Stitch,
31+
"StabStitch_Stabilize": StabStitch_Stabilize,
32+
"StabStitch_Crop_Resize": StabStitch_Crop_Resize,
2133
}
2234

2335
NODE_DISPLAY_NAME_MAPPINGS = {
@@ -30,6 +42,9 @@
3042
"ConvIR_DeSnow": "ConvIR DeSnow",
3143
"ConvIR_MotionDeBlur": "ConvIR Motion DeBlur",
3244
"ConvIR_DefocusDeblur": "ConvIR Defocus Deblur",
45+
"StabStitch": "StabStitch",
46+
"StabStitch_Stabilize": "StabStitch Stabilize",
47+
"StabStitch_Crop_Resize": "StabStitch Crop Resize",
3348
}
3449

3550
try:

constants.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@
88
"VFIMamba_S": "models/vfimamba/VFIMamba_S.pkl",
99
}
1010
VFI_MAMBA_DEFAULT = "VFIMamba"
11+
12+
STAB_TEMPORAL_PATH = "models/stabstitch/temporal_warp.pth"
13+
STAB_SPATIAL_PATH = "models/stabstitch/spatial_warp.pth"
14+
STAB_SMOOTH_PATH = "models/stabstitch/smooth_warp.pth"
15+
STAB_CONSTRUCT_MODES = ["FAST", "NORMAL"]
16+
STAB_CONSTRUCT_DEFAULT = "FAST"
26.7 KB
25.8 KB
25.8 KB
26.1 KB
25.6 KB
24.5 KB
24.5 KB

0 commit comments

Comments
 (0)