/** * Copies information from a metadata retrieval object * (source) into a metadata store (destination). */ public static void convertMetadata(MetadataRetrieve src, MetadataStore dest) { ome.xml.meta.MetadataConverter.convertMetadata(src, dest); }
/** * Copies information from a metadata retrieval object * (source) into a metadata store (destination). */ public static void convertMetadata(MetadataRetrieve src, MetadataStore dest) { ome.xml.meta.MetadataConverter.convertMetadata(src, dest); }
/** * @see OMEXMLService#convertMetadata(loci.formats.meta.MetadataRetrieve, loci.formats.meta.MetadataStore) */ @Override public void convertMetadata(MetadataRetrieve src, MetadataStore dest) { MetadataConverter.convertMetadata(src, dest); }
/** * @see OMEXMLService#convertMetadata(loci.formats.meta.MetadataRetrieve, loci.formats.meta.MetadataStore) */ @Override public void convertMetadata(MetadataRetrieve src, MetadataStore dest) { MetadataConverter.convertMetadata(src, dest); }
MetadataConverter.convertMetadata(convertMetadata, store); MetadataTools.populatePixels(store, this);
MetadataConverter.convertMetadata(convertMetadata, store); MetadataTools.populatePixels(store, this);
MetadataConverter.convertMetadata( omeMD, store ); MetadataTools.populatePixels( store, this, true );
/** * Initializes the writer. * @param output The file where to write the compressed data. * @param compression The compression to use. * @param bigTiff Pass <code>true</code> to set the <code>bigTiff</code> flag, * <code>false</code> otherwise. * @return See above. * @throws Exception Thrown if an error occurred. */ private TiffWriter initializeWriter(String output, String compression, boolean bigTiff) throws Exception { IMetadata newMetadata = service.createOMEXMLMetadata(); MetadataConverter.convertMetadata(metadata, newMetadata); TiffWriter writer = new TiffWriter(); writer.setMetadataRetrieve(newMetadata); writer.setCompression(compression); writer.setWriteSequentially(true); writer.setInterleaved(false); writer.setBigTiff(bigTiff); writer.setId(output); return writer; }
MetadataConverter.convertMetadata( omeMD, store ); MetadataTools.populatePixels( store, this, true );