Color
- class plugins.convert.color.match_hist.Color(config_file=None, config=None)
Bases:
AdjustmentMatch the histogram of the color intensity of each channel
Methods Summary
hist_match(old_channel, new_channel, ...)Construct the histogram of the color intensity of a channel for the swap and the original.
process(old_face, new_face, raw_mask)Override for specific color adjustment process
run(old_face, new_face, raw_mask)Perform selected adjustment on face
Methods Documentation
- static hist_match(old_channel, new_channel, mask_indices, threshold)
Construct the histogram of the color intensity of a channel for the swap and the original. Match the histogram of the original by interpolation
- process(old_face, new_face, raw_mask)
Override for specific color adjustment process
- run(old_face, new_face, raw_mask)
Perform selected adjustment on face
- static hist_match(old_channel, new_channel, mask_indices, threshold)
Construct the histogram of the color intensity of a channel for the swap and the original. Match the histogram of the original by interpolation
- process(old_face, new_face, raw_mask)
Override for specific color adjustment process