Retrieve FrameIncrementPointer as an attribute and FrameTimeVector as a float array via DICOMWeb and DIMSE
This commit is contained in:
1 parent
255b60e2fc
commit
8e9265ab23
9 files changed
+93
-2
No files matched your search
@@ -39,7 +39,9 @@ var getInstanceRetrievalParams = function(studyInstanceUID, seriesInstanceUID) {
|
||||
0x00280004: '', // photometricInterpretation
|
||||
0x0008002A: '', // acquisitionDatetime
|
||||
0x00280008: '', // numFrames
|
||||
0x00280009: '', // frameIncrementPointer
|
||||
0x00181063: '', // frameTime
|
||||
0x00181065: '', // frameTimeVector
|
||||
0x00281052: '', // rescaleIntercept
|
||||
0x00281053: '', // rescaleSlope
|
||||
0x00280002: '', // samplesPerPixel
|
||||
|
||||
@@ -210,11 +210,14 @@ util.inherits(AttributeTag, ValueRepresentation);
|
||||
|
||||
AttributeTag.prototype.readBytes = function(stream, length) {
|
||||
var group = stream.read(C.TYPE_UINT16),
|
||||
element = stream.read(C.TYPE_UINT16);
|
||||
element = stream.read(C.TYPE_UINT16);
|
||||
return tagFromNumbers(group, element);
|
||||
};
|
||||
|
||||
AttributeTag.prototype.getFields = function(value) {
|
||||
if (!value)
|
||||
return AttributeTag.super_.prototype.getFields.call(this, [new StringField("")]);
|
||||
|
||||
return AttributeTag.super_.prototype.getFields.call(this, [new UInt16Field(value.group()), new UInt16Field(value.element())]);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user