ForensicConfig constructor
Creates a forensic watermark configuration.
redundancy must be a positive odd integer (enables majority voting).
bitsPerChannel is reserved for future use and must be 1.
Implementation
const ForensicConfig({
this.redundancy = 5,
this.bitsPerChannel = 1,
}) : assert(redundancy > 0, 'redundancy must be positive'),
assert(redundancy % 2 == 1, 'redundancy must be odd'),
assert(bitsPerChannel == 1, 'only 1 bit per channel is supported');