Codota Logo
org.dcm4che3.media
Code IndexAdd Codota to your IDE (free)

How to use org.dcm4che3.media

Best Java code snippets using org.dcm4che3.media (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: dcm4che/dcm4che

@Override
public void close() throws IOException {
  commit();
  super.close();
}
origin: dcm4che/dcm4che

public Attributes findNextStudyRecord(Attributes studyRec, Attributes keys, RecordFactory recFact,
                 boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findNextDirectoryRecord(studyRec, false,
      keys(RecordType.STUDY, keys, recFact), ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

protected Attributes findLastLowerDirectoryRecord(Attributes rec)
    throws IOException {
  Attributes lower = readLowerDirectoryRecord(rec);
  if (lower == null)
    return null;
  Attributes next;
  while ((next = readNextDirectoryRecord(lower)) != null)
    lower = next;
  return lower;
}
origin: dcm4che/dcm4che

public synchronized Attributes findOrAddSeriesRecord(Attributes studyRec, Attributes rec)
    throws IOException {
  Attributes seriesRec = super.findSeriesRecord(studyRec, rec.getString(Tag.SeriesInstanceUID));
  return seriesRec != null ? seriesRec : addLowerDirectoryRecord(studyRec, rec);
}
origin: dcm4che/dcm4che

  protected boolean findNextPatient() throws IOException {
    if (patRec == null)
      patRec = ddr.findPatientRecord(keys, recFact, ignoreCaseOfPN, matchNoValue);
    else if (patIDs.length == 1)
      patRec = null;
    else
      patRec = ddr.findNextPatientRecord(patRec, keys, recFact, ignoreCaseOfPN, matchNoValue);

    return patRec != null;
  }
}
origin: dcm4che/dcm4che

private Attributes keys(RecordType type, Attributes attrs, RecordFactory recFact) {
  int[] selection = recFact.getRecordKeys(type);
  Attributes keys = new Attributes(selection.length + 1);
  keys.setString(Tag.DirectoryRecordType, VR.CS, type.name());
  keys.addSelected(attrs, selection);
  return keys;
}
origin: dcm4che/dcm4che

public Attributes findStudyRecord(Attributes patRec, Attributes keys, RecordFactory recFact,
                 boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findLowerDirectoryRecord(patRec, false,
      keys(RecordType.STUDY, keys, recFact), ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

public Attributes findNextSeriesRecord(Attributes seriesRec, String... iuids)
    throws IOException {
  return findNextDirectoryRecord(seriesRec, false, 
      pk("SERIES", Tag.SeriesInstanceUID, VR.UI, iuids),
      false, false);
}
origin: dcm4che/dcm4che

public Attributes findStudyRecord(Attributes patRec, String... iuids)
    throws IOException {
  return findLowerDirectoryRecord(patRec, false,
      pk("STUDY", Tag.StudyInstanceUID, VR.UI, iuids),
      false, false);
}
origin: dcm4che/dcm4che

public Attributes findPatientRecord(Attributes keys, RecordFactory recFact,
                  boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findRootDirectoryRecord(false,
      keys(RecordType.PATIENT, keys, recFact), ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

public Attributes findRootDirectoryRecord(Attributes keys, boolean ignorePrivate,
    boolean ignoreCaseOfPN, boolean matchNoValue)
    throws IOException {
  return findRecordInUse(getOffsetOfFirstRootDirectoryRecord(), ignorePrivate,
      keys, ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

public Attributes findRootInstanceRecord(boolean ignorePrivate, String... iuids)
    throws IOException {
  return findRootDirectoryRecord(ignorePrivate, pk(iuids), false, false);
}
origin: dcm4che/dcm4che

public Attributes findNextDirectoryRecordInUse(Attributes rec, boolean ignorePrivate)
    throws IOException {
  return findNextDirectoryRecord(rec, ignorePrivate, null, false, false);
}
origin: dcm4che/dcm4che

public Attributes findNextSeriesRecord(Attributes seriesRec, Attributes keys, RecordFactory recFact,
                    boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findNextDirectoryRecord(seriesRec, false,
      keys(RecordType.SERIES, keys, recFact), ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

public Attributes findLowerInstanceRecord(Attributes seriesRec, Attributes keys, RecordFactory recFact,
                 boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findLowerDirectoryRecord(seriesRec, false,
      keys(keys, recFact), ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

public Attributes findNextPatientRecord(Attributes patRec, String... ids) throws IOException {
  return findNextDirectoryRecord(patRec, false,
      pk("PATIENT", Tag.PatientID, VR.LO, ids), false, false);
}
origin: dcm4che/dcm4che

public Attributes findSeriesRecord(Attributes studyRec, String... iuids)
    throws IOException {
  return findLowerDirectoryRecord(studyRec, false, 
      pk("SERIES", Tag.SeriesInstanceUID, VR.UI, iuids),
      false, false);
}
origin: dcm4che/dcm4che

public Attributes findNextPatientRecord(Attributes patRec, Attributes keys, RecordFactory recFact,
                    boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findNextDirectoryRecord(patRec, false,
      keys(RecordType.PATIENT, keys, recFact), ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

public Attributes findSeriesRecord(Attributes studyRec, Attributes keys, RecordFactory recFact,
                 boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findLowerDirectoryRecord(studyRec, false,
      keys(RecordType.SERIES, keys, recFact), ignoreCaseOfPN, matchNoValue);
}
origin: dcm4che/dcm4che

public Attributes findNextInstanceRecord(Attributes instRec, Attributes keys, RecordFactory recFact,
                    boolean ignoreCaseOfPN, boolean matchNoValue) throws IOException {
  return findNextDirectoryRecord(instRec, false,
      keys(keys, recFact), ignoreCaseOfPN, matchNoValue);
}
org.dcm4che3.media

Most used classes

  • DicomDirReader
  • DicomDirWriter
  • RecordFactory
  • RecordType
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now