Examples of YCbCr


Examples of edu.harvard.hul.ois.ots.schemas.MIX.YCbCr

        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);
        double lumaBlue = ycbcrc.getLumaBlue().toRational().getDouble ();
View Full Code Here

Examples of edu.harvard.hul.ois.ots.schemas.MIX.YCbCr

            icm.setGeneralCaptureInformation(gci);
           
            // Here are some pieces which are constructed once, but added only if they're needed.
            cp = new ColorProfile ();           // Add this to phi if needed
            iccp = new IccProfile();            // Add this to cp if needed
            ycbcr = new YCbCr ();               // Add this to phi if needed
            sfc = new SpecialFormatCharacteristics()// Add this to bii if needed
            jp2000 = new JPEG2000 ();           // Add this to sfc if needed
            eo = new EncodingOptions ();
            tiles = new Tiles ();               // Add this to eo if needed
            wp = null;                          // We leave this null so we can tell if it's been created
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.