Media Encoder2027
Object

PixelComparison

Performs pixel comparison between two video frames.

Methods

static → Varies

Takes in 2 PNGs or two VFRaw files and an epsilon value and performs pixel-based comparison on the images. For PNGs the epsilon value should be an integer for comparing 8-bit or 15|16-bit integer values. For VFRaw files the epsilon value should be a float for comparing float values in the nominal [0.0 .. 1.0] range.

inImagePath String
compareImagePath String
epsilon Number
static → Varies

Takes in 3 PNGs and performs pixel-based comparison on the non-mask region of the images

inOriginalImagePath String
inCompareImagePath String
inMaskOnlyPath String

Return 1

Methods that return a PixelComparison.