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 ();