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