dlib.image.filters.chromakey

Filters that remove background from images

Members

Functions

chromaKey
SuperImage chromaKey(SuperImage img, SuperImage outp, float hue, float hueToleranceMin, float hueToleranceMax, float satThres, float valThres)
SuperImage chromaKey(SuperImage img, float hue, float hueToleranceMin, float hueToleranceMax, float satThres, float valThres)

HSV selective scale chroma key

chromaKeyEuclidean
SuperImage chromaKeyEuclidean(SuperImage img, SuperImage outp, Color4f keyColor, float minDist, float maxDist)
SuperImage chromaKeyEuclidean(SuperImage img, Color4f keyColor, float minDist, float maxDist)

Euclidean distance chroma key

colorPass
SuperImage colorPass(SuperImage img, SuperImage outp, float hue, float hueToleranceMin, float hueToleranceMax, float satThres, float valThres)
SuperImage colorPass(SuperImage img, float hue, float hueToleranceMin, float hueToleranceMax, float satThres, float valThres)

Turns image into b&w where only one color left, using HSV selective scale

Meta

Authors

Timur Gafarov