assertTrue ((int) min == 24);
assertTrue ((int) sec == 51);
BasicImageInformation bii = mix.getBasicImageInformation();
BasicImageCharacteristics bic = bii.getBasicImageCharacteristics();
PhotometricInterpretation phi = bic.getPhotometricInterpretation();
List<ReferenceBlackWhite> rbwList = phi.getReferenceBlackWhites();
ReferenceBlackWhite rbw = rbwList.get(0);
List<Component> compList = rbw.getComponents();
assertTrue (compList.size() == 3);
Component comp = compList.get(0);
assertEquals ("Y", comp.getComponentPhotometricInterpretation().toString ());
double headroom = comp.getHeadroom().toRational().getDouble();
assertTrue (headroom == 0.0);
YCbCr ycbcr = phi.getYCbCr();
YCbCrCoefficients ycbcrc = ycbcr.getYCbCrCoefficients();
double lumaRed = ycbcrc.getLumaRed().toRational().getDouble ();
assertTrue (lumaRed == 10.0);
double lumaGreen = ycbcrc.getLumaGreen().toRational().getDouble ();
assertTrue (lumaGreen == 20.0);