Package edu.harvard.hul.ois.ots.schemas.MIX

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


        mix = new Mix ();
        try {
             // Add the top-level elements to the mix element, to make life simpler.
            bdoi = new BasicDigitalObjectInformation();
            mix.setBasicDigitalObjectInformation(bdoi);
            bii = new BasicImageInformation ();
            mix.setBasicImageInformation (bii);
            bic = new BasicImageCharacteristics ();
            bii.setBasicImageCharacteristics (bic);
            phi = new PhotometricInterpretation ();
            bic.setPhotometricInterpetation(phi);
View Full Code Here


        double sec = dlat.getSeconds().toRational().getDouble();
        assertTrue ((int) deg == 33);
        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);
View Full Code Here

TOP

Related Classes of edu.harvard.hul.ois.ots.schemas.MIX.BasicImageInformation

Copyright © 2018 www.massapicom. 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.