public class ProjectionXRayAnatomy extends Object
This class encapsulates information pertaining to anatomy of projection x-ray images.
Utility methods provide for the detection of anatomy from various header attributes regardless of whether these are formal codes, code strings or free text comments.
Modifier and Type | Field and Description |
---|---|
protected static DisplayableAnatomicConcept[] |
anatomicConceptEntries |
protected static DictionaryOfConcepts |
anatomyConcepts |
protected static String[] |
badAnatomyWords |
protected static String[] |
badLateralityOrViewOrAnatomyPhraseTriggers |
protected static String[] |
badLateralityWords |
protected static String[] |
badViewWords |
protected static DisplayableLateralityConcept[] |
lateralityConceptEntries |
protected static DictionaryOfConcepts |
lateralityConcepts |
protected static DisplayableViewConcept[] |
viewPositionConceptEntries |
protected static DictionaryOfConcepts |
viewPositionConcepts |
Constructor and Description |
---|
ProjectionXRayAnatomy() |
Modifier and Type | Method and Description |
---|---|
static DisplayableConcept |
findAmongstGeneralAttributes(AttributeList list,
DictionaryOfConcepts concepts,
String[] badPhraseTriggers) |
static DisplayableAnatomicConcept |
findAnatomicConcept(AttributeList list) |
static DisplayableLateralityConcept |
findLaterality(AttributeList list,
DisplayableAnatomicConcept anatomy) |
static DisplayableViewConcept |
findView(AttributeList list) |
static DictionaryOfConcepts |
getAnatomyConcepts() |
static DictionaryOfConcepts |
getLateralityConcepts() |
static void |
main(String[] arg)
Read the DICOM input file and extract anatomical information.
|
protected static String[] |
newStringArray(String... values) |
protected static String[] badLateralityOrViewOrAnatomyPhraseTriggers
protected static String[] badLateralityWords
protected static DisplayableLateralityConcept[] lateralityConceptEntries
protected static DictionaryOfConcepts lateralityConcepts
protected static String[] badViewWords
protected static DisplayableViewConcept[] viewPositionConceptEntries
protected static DictionaryOfConcepts viewPositionConcepts
protected static String[] badAnatomyWords
protected static DisplayableAnatomicConcept[] anatomicConceptEntries
protected static DictionaryOfConcepts anatomyConcepts
public static DictionaryOfConcepts getLateralityConcepts()
public static DictionaryOfConcepts getAnatomyConcepts()
public static DisplayableAnatomicConcept findAnatomicConcept(AttributeList list)
public static DisplayableViewConcept findView(AttributeList list)
public static DisplayableLateralityConcept findLaterality(AttributeList list, DisplayableAnatomicConcept anatomy)
public static DisplayableConcept findAmongstGeneralAttributes(AttributeList list, DictionaryOfConcepts concepts, String[] badPhraseTriggers)
public static void main(String[] arg)
Read the DICOM input file and extract anatomical information.
arg
- array of one string, the filename to read