You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## @ dark_halo - dark halo intensity (default 0.5)
538
+
##
539
+
function dcpp_halo(clip C, float "bright_halo", float "dark_halo"){
540
+
541
+
bright_halo_value = Default(bright_halo, .4)
542
+
dark_halo_value = Default(dark_halo, .5)
543
+
544
+
C
545
+
546
+
a=C
547
+
bright_halo_mask=C.TEMmod(threshY=17).mt_expand.mt_expand.mt_expand #mask for bright halos
548
+
dark_halo_mask=C.TEMmod(threshY=17).mt_expand #mask for dark halos
549
+
halo_bright3=dcpp_halo_lumamask(a,a,b=170,w=230, show=true).levels(0,1,50,0,255,false).mt_expand(u=-128,v=-128).mt_binarize() #luma mask to remove later
0 commit comments