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

Method getLuts

ij/src/main/java/ij/io/TiffDecoder.java:738–747  ·  view source on GitHub ↗
(int first, int last, FileInfo fi)

Source from the content-addressed store, hash-verified

736 }
737
738 void getLuts(int first, int last, FileInfo fi) throws IOException {
739 fi.channelLuts = new byte[last-first+1][];
740 int index = 0;
741 for (int i=first; i<=last; i++) {
742 int len = metaDataCounts[i];
743 fi.channelLuts[index] = new byte[len];
744 in.readFully(fi.channelLuts[index], len);
745 index++;
746 }
747 }
748
749 void getRoi(int first, FileInfo fi) throws IOException {
750 int len = metaDataCounts[first];

Callers 1

getMetaDataMethod · 0.95

Calls 1

readFullyMethod · 0.65

Tested by

no test coverage detected