Document Frame Increment Pointer magic value
This commit is contained in:
parent
ae015e051e
commit
a5282c0aa5
@ -103,7 +103,7 @@ def ev_files_to_dcm_file(study_uid, series_uid, series_number, image_number, inp
|
|||||||
if len(pixel_datas) > 1:
|
if len(pixel_datas) > 1:
|
||||||
ds.RecommendedDisplayFrameRate = round(metadata['recommendedDisplayFrameRate'])
|
ds.RecommendedDisplayFrameRate = round(metadata['recommendedDisplayFrameRate'])
|
||||||
ds.FrameTime = 1000 / metadata['recommendedDisplayFrameRate']
|
ds.FrameTime = 1000 / metadata['recommendedDisplayFrameRate']
|
||||||
ds.FrameIncrementPointer = (0x0018, 0x1063)
|
ds.FrameIncrementPointer = (0x0018, 0x1063) # Frame Time
|
||||||
ds.NumberOfFrames = len(pixel_datas)
|
ds.NumberOfFrames = len(pixel_datas)
|
||||||
|
|
||||||
# Store copy of raw metadata
|
# Store copy of raw metadata
|
||||||
|
Loading…
Reference in New Issue
Block a user