disabled to put image and resolution count.

This commit is contained in:
Yoshihiro OKUMURA 2022-07-14 11:23:43 +09:00
parent 0e5d6cd171
commit 4a562db135

View File

@ -29,7 +29,6 @@ public class BioFormatsImageInfo {
// read basic metadata // read basic metadata
int seriesCount = reader.getSeriesCount(); int seriesCount = reader.getSeriesCount();
metadata.put("count", seriesCount);
MetadataStore ms = reader.getMetadataStore(); MetadataStore ms = reader.getMetadataStore();
MetadataRetrieve mr = ms instanceof MetadataRetrieve ? (MetadataRetrieve) ms : null; MetadataRetrieve mr = ms instanceof MetadataRetrieve ? (MetadataRetrieve) ms : null;
for (int j = 0; j < seriesCount; j++) { for (int j = 0; j < seriesCount; j++) {
@ -48,7 +47,6 @@ public class BioFormatsImageInfo {
// resolutions // resolutions
if (resolutionCount > 1) { if (resolutionCount > 1) {
Map<String, Object> resolutionsMetadata = new LinkedHashMap<String, Object>(); Map<String, Object> resolutionsMetadata = new LinkedHashMap<String, Object>();
resolutionsMetadata.put("count", resolutionCount);
for (int i = 0; i < resolutionCount; i++) { for (int i = 0; i < resolutionCount; i++) {
reader.setResolution(i); reader.setResolution(i);
resolutionsMetadata.put(String.format("resolution[%d]", i), resolutionsMetadata.put(String.format("resolution[%d]", i),