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

Method getDicomInfo

ij/src/main/java/ij/plugin/DICOM.java:766–774  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

764 }
765
766 String getDicomInfo() {
767 String s = new String(dicomInfo);
768 char[] chars = new char[s.length()];
769 s.getChars(0, s.length(), chars, 0);
770 for (int i=0; i<chars.length; i++) {
771 if (chars[i]<' ' && chars[i]!='\n') chars[i] = ' ';
772 }
773 return new String(chars);
774 }
775
776 void addInfo(int tag, String value) throws IOException {
777 String info = getHeaderInfo(tag, value);

Callers 1

runMethod · 0.95

Calls 2

getCharsMethod · 0.80
lengthMethod · 0.65

Tested by

no test coverage detected