addGlobalMeta("Storm center (Longitude)", centerLongitude); CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(physicalSize); Length sizeY = FormatTools.getPhysicalSizeY(physicalSize); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
addGlobalMeta("Storm center (Longitude)", centerLongitude); CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(physicalSize); Length sizeY = FormatTools.getPhysicalSizeY(physicalSize); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
super.initFile(id); in = new RandomAccessInputStream(id); CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length x = FormatTools.getPhysicalSizeX(sizeX); Length y = FormatTools.getPhysicalSizeY(sizeY); if (x != null) { store.setPixelsPhysicalSizeX(x, 0); store.setPixelsPhysicalSizeY(y, 0);
super.initFile(id); in = new RandomAccessInputStream(id); CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length x = FormatTools.getPhysicalSizeX(sizeX); Length y = FormatTools.getPhysicalSizeY(sizeY); if (x != null) { store.setPixelsPhysicalSizeX(x, 0); store.setPixelsPhysicalSizeY(y, 0);
int nBits = 0; CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(physicalSizeX); Length sizeY = FormatTools.getPhysicalSizeY(physicalSizeY); Length sizeZ = FormatTools.getPhysicalSizeZ(physicalSizeZ); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
int nBits = 0; CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(physicalSizeX); Length sizeY = FormatTools.getPhysicalSizeY(physicalSizeY); Length sizeZ = FormatTools.getPhysicalSizeZ(physicalSizeZ); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
in = new RandomAccessInputStream(id); CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (date != null) { date = DateTools.formatDate(date, DATE_FORMAT); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(pixelSizeX); Length sizeY = FormatTools.getPhysicalSizeY(pixelSizeY); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
in = new RandomAccessInputStream(id); CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (date != null) { date = DateTools.formatDate(date, DATE_FORMAT); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(pixelSizeX); Length sizeY = FormatTools.getPhysicalSizeY(pixelSizeY); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
CoreMetadata m = core.get(0); FormatTools.pixelTypeFromBytes(bytes, signed, bytes == 4); else if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) pixelSizeX = Double.parseDouble(v[2]) - Double.parseDouble(v[1]); pixelSizeX /= getSizeX(); sizeX = FormatTools.getPhysicalSizeX(pixelSizeX, unit); pixelSizeY = Double.parseDouble(v[2]) - Double.parseDouble(v[1]); pixelSizeY /= getSizeY(); sizeY = FormatTools.getPhysicalSizeY(pixelSizeY, unit); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { store.setImageDescription(remark, 0); store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
CoreMetadata m = core.get(0); FormatTools.pixelTypeFromBytes(bytes, signed, bytes == 4); else if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) pixelSizeX = Double.parseDouble(v[2]) - Double.parseDouble(v[1]); pixelSizeX /= getSizeX(); sizeX = FormatTools.getPhysicalSizeX(pixelSizeX, unit); pixelSizeY = Double.parseDouble(v[2]) - Double.parseDouble(v[1]); pixelSizeY /= getSizeY(); sizeY = FormatTools.getPhysicalSizeY(pixelSizeY, unit); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { store.setImageDescription(remark, 0); store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
private void readExtraMetadata(MetadataStore store) throws IOException { if (getMetadataOptions().getMetadataLevel() == MetadataLevel.MINIMUM) { return; size = 1.0 / (size * (1.0 / 25400)); Length sizeY = FormatTools.getPhysicalSizeY(size); if (sizeY != null) { store.setPixelsPhysicalSizeY(sizeY, 0); size = 1.0 / (size * (1.0 / 25400)); Length sizeX = FormatTools.getPhysicalSizeX(size); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0);
private void readExtraMetadata(MetadataStore store) throws IOException { if (getMetadataOptions().getMetadataLevel() == MetadataLevel.MINIMUM) { return; size = 1.0 / (size * (1.0 / 25400)); Length sizeY = FormatTools.getPhysicalSizeY(size); if (sizeY != null) { store.setPixelsPhysicalSizeY(sizeY, 0); size = 1.0 / (size * (1.0 / 25400)); Length sizeX = FormatTools.getPhysicalSizeX(size); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0);
String date = null; CoreMetadata m = core.get(0); getMetadataOptions().getMetadataLevel() == MetadataLevel.MINIMUM; MetadataTools.populatePixels(store, this, !minimumMetadata); store.setPlanePositionY(yPos, 0, 0); Length sizeX = FormatTools.getPhysicalSizeX(deltaX); Length sizeY = FormatTools.getPhysicalSizeY(deltaY); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
super.initMetadataStore(); MetadataStore store = makeFilterMetadata(); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(pixelSizeX); Length sizeY = FormatTools.getPhysicalSizeY(pixelSizeY); Length sizeZ = FormatTools.getPhysicalSizeZ(pixelSizeZ); store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
String date = null; CoreMetadata m = core.get(0); getMetadataOptions().getMetadataLevel() == MetadataLevel.MINIMUM; MetadataTools.populatePixels(store, this, !minimumMetadata); store.setPlanePositionY(yPos, 0, 0); Length sizeX = FormatTools.getPhysicalSizeX(deltaX); Length sizeY = FormatTools.getPhysicalSizeY(deltaY); if (sizeX != null) { store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
super.initMetadataStore(); MetadataStore store = makeFilterMetadata(); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { Length sizeX = FormatTools.getPhysicalSizeX(pixelSizeX); Length sizeY = FormatTools.getPhysicalSizeY(pixelSizeY); Length sizeZ = FormatTools.getPhysicalSizeZ(pixelSizeZ); store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0);
Length sizeX = FormatTools.getPhysicalSizeX(physicalSizeX); Length sizeY = FormatTools.getPhysicalSizeY(physicalSizeY); store.setPixelsPhysicalSizeX(sizeX, well); store.setPixelsPhysicalSizeY(sizeY, well); store.setChannelName(channelNames.get(c), well, c);
Length sizeX = FormatTools.getPhysicalSizeX(physicalSizeX); Length sizeY = FormatTools.getPhysicalSizeY(physicalSizeY); store.setPixelsPhysicalSizeX(sizeX, well); store.setPixelsPhysicalSizeY(sizeY, well); store.setChannelName(channelNames.get(c), well, c);
CoreMetadata m = core.get(0); MetadataTools.populatePixels(store, this); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { if (pixelSizes != null) { for (int i=0; i<pixelSizes.length; i++) { null : pixelSizeUnits[i].replaceAll("\"", ""); if (i == 0) { Length x = FormatTools.getPhysicalSizeX(d, unit); if (x != null) { store.setPixelsPhysicalSizeX(x, 0); Length y = FormatTools.getPhysicalSizeY(d, unit); if (y != null) { store.setPixelsPhysicalSizeY(y, 0);
CoreMetadata m = core.get(0); m.pixelType = FormatTools.pixelTypeFromBytes(bits / 8, false, false); MetadataTools.populatePixels(store, this); double physicalHeight = Double.parseDouble(lines[4]); Length sizeX = FormatTools.getPhysicalSizeX(physicalWidth); Length sizeY = FormatTools.getPhysicalSizeY(physicalHeight); store.setPixelsPhysicalSizeX(sizeX, 0); store.setPixelsPhysicalSizeY(sizeY, 0); if (getMetadataOptions().getMetadataLevel() != MetadataLevel.MINIMUM) { String instrument = lines[13];