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);
double lumaBlue = ycbcrc.getLumaBlue().toRational().getDouble ();
assertTrue (lumaBlue == 30.0);
}