MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getValue

Method getValue

ij/src/main/java/ij/io/TiffDecoder.java:148–157  ·  view source on GitHub ↗
(int fieldType, int count)

Source from the content-addressed store, hash-verified

146 }
147
148 int getValue(int fieldType, int count) throws IOException {
149 int value = 0;
150 int unused;
151 if (fieldType==SHORT && count==1) {
152 value = getShort();
153 unused = getShort();
154 } else
155 value = getInt();
156 return value;
157 }
158
159 void getColorMap(long offset, FileInfo fi) throws IOException {
160 byte[] colorTable16 = new byte[768*2];

Callers 1

OpenIFDMethod · 0.95

Calls 2

getShortMethod · 0.95
getIntMethod · 0.95

Tested by

no test coverage detected