fix
This commit is contained in:
1 parent
cfd7803e0d
commit
4acaf08ebf
1 file changed
+2
@@ -89,6 +89,8 @@ def color_transfer_mkl(x0, x1):
|
|||||||
return np.clip ( result.reshape ( (h,w,c) ).astype(x0.dtype), 0, 1)
|
return np.clip ( result.reshape ( (h,w,c) ).astype(x0.dtype), 0, 1)
|
||||||
|
|
||||||
def color_transfer_idt(i0, i1, bins=256, n_rot=20):
|
def color_transfer_idt(i0, i1, bins=256, n_rot=20):
|
||||||
|
import scipy.stats
|
||||||
|
|
||||||
relaxation = 1 / n_rot
|
relaxation = 1 / n_rot
|
||||||
h,w,c = i0.shape
|
h,w,c = i0.shape
|
||||||
h1,w1,c1 = i1.shape
|
h1,w1,c1 = i1.shape
|
||||||
|
|||||||
Reference in new issue
Block a user