/// <summary>
 /// Initialize the middleware.
 /// </summary>
 /// <param name="coefficients">The YCbCrCoefficients tag.</param>
 /// <param name="referenceBlackWhite">The ReferenceBlackWhite tag.</param>
 public TiffChunkyYCbCr161616Interpreter(TiffValueCollection <TiffRational> coefficients, TiffValueCollection <TiffRational> referenceBlackWhite)
 {
     if (!coefficients.IsEmpty && coefficients.Count != 3)
     {
         throw new ArgumentException("coefficient should have 3 none-zero elements.");
     }
     if (!referenceBlackWhite.IsEmpty && referenceBlackWhite.Count != 6)
     {
         throw new ArgumentException("referenceWhiteBlack should have 6 elements.");
     }
     _converter = TiffYCbCrConverter16.Create(coefficients.GetOrCreateArray(), referenceBlackWhite.GetOrCreateArray());
 }