Compare commits
2 Commits
d6c0c9fd30
...
8e3a599294
Author | SHA1 | Date | |
---|---|---|---|
8e3a599294 | |||
565832b018 |
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>jp.riken.neurodata.tools.BioFormatsImageInfo</groupId>
|
<groupId>jp.riken.neurodata.tools.BioFormatsImageInfo</groupId>
|
||||||
<artifactId>bioformats-imageinfo</artifactId>
|
<artifactId>bioformats-imageinfo</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.1.0</version>
|
||||||
|
|
||||||
<name>bioformats-imageinfo</name>
|
<name>bioformats-imageinfo</name>
|
||||||
<url>https://neurodata.riken.jp</url>
|
<url>https://neurodata.riken.jp</url>
|
||||||
|
@ -68,7 +68,8 @@ public class BioFormatsImageInfo {
|
|||||||
final byte[][] table8 = reader.get8BitLookupTable();
|
final byte[][] table8 = reader.get8BitLookupTable();
|
||||||
if (table8 != null) {
|
if (table8 != null) {
|
||||||
indexed.add(
|
indexed.add(
|
||||||
String.format("8-bit LUT: %d x %s", table8.length, table8[0] == null ? "null" : "" + table8[0].length));
|
String.format("8-bit LUT: %d x %s", table8.length,
|
||||||
|
table8[0] == null ? "null" : "" + table8[0].length));
|
||||||
}
|
}
|
||||||
final short[][] table16 = reader.get16BitLookupTable();
|
final short[][] table16 = reader.get16BitLookupTable();
|
||||||
if (table16 != null) {
|
if (table16 != null) {
|
||||||
@ -82,7 +83,8 @@ public class BioFormatsImageInfo {
|
|||||||
seriesMetadata.put("sizeY", reader.getSizeY());
|
seriesMetadata.put("sizeY", reader.getSizeY());
|
||||||
final int sizeZ = reader.getSizeZ();
|
final int sizeZ = reader.getSizeZ();
|
||||||
seriesMetadata.put("sizeZ", makeDimension(sizeZ, sizeZ, reader.getModuloZ()));
|
seriesMetadata.put("sizeZ", makeDimension(sizeZ, sizeZ, reader.getModuloZ()));
|
||||||
seriesMetadata.put("sizeC", makeDimension(reader.getSizeC(), reader.getEffectiveSizeC(), reader.getModuloC()));
|
seriesMetadata.put("sizeC",
|
||||||
|
makeDimension(reader.getSizeC(), reader.getEffectiveSizeC(), reader.getModuloC()));
|
||||||
final int sizeT = reader.getSizeT();
|
final int sizeT = reader.getSizeT();
|
||||||
seriesMetadata.put("sizeT", makeDimension(sizeT, sizeT, reader.getModuloT()));
|
seriesMetadata.put("sizeT", makeDimension(sizeT, sizeT, reader.getModuloT()));
|
||||||
seriesMetadata.put("tileSize", makeRectangle(reader.getOptimalTileWidth(), reader.getOptimalTileHeight()));
|
seriesMetadata.put("tileSize", makeRectangle(reader.getOptimalTileWidth(), reader.getOptimalTileHeight()));
|
||||||
|
Loading…
Reference in New Issue
Block a user