mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 14:24:40 -07:00
no clip/scale
This commit is contained in:
parent
059a60dcae
commit
5ca7fb5193
1 changed files with 3 additions and 3 deletions
|
@ -78,9 +78,9 @@ def reinhard_color_transfer(target, source, clip=False, preserve_paper=False, ta
|
|||
|
||||
# clip/scale the pixel intensities to [0, 1] if they fall
|
||||
# outside this range
|
||||
l = _scale_array(l, clip=clip)
|
||||
a = _scale_array(a, clip=clip)
|
||||
b = _scale_array(b, clip=clip)
|
||||
# l = _scale_array(l, clip=clip)
|
||||
# a = _scale_array(a, clip=clip)
|
||||
# b = _scale_array(b, clip=clip)
|
||||
|
||||
# merge the channels together and convert back to the RGB color
|
||||
# space
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue