I have a dicom file and I want to play a video from it.

조회 수: 7 (최근 30일)
Amit
Amit 2023년 9월 11일
답변: Walter Roberson 2023년 9월 11일
Hello, I have a dicome file ( " *****.dcm). It is a Ultrasound Data. When I want to play the video from this file by implay function, I am getting am error like : " Invalid Video Data -must be numeric or logical type". Can I get some suggestions or solutions from you good people?
The information :
Pixels: [904×1208×1751×3 uint8]
Colormap: []
SpatialUnits: "mm"
FrameTime: 0.1000
NumFrames: 1751
PixelSpacing: [0.0225 0.0225]
Modality: 'US'
WindowCenter: []
WindowWidth: []
filename = "US.dcm";
medImg = medicalImage(filename)
implay(medImg)

채택된 답변

Walter Roberson
Walter Roberson 2023년 9월 11일
That facility is new in R2023a, the release after you are using.
In your release you would have to repeatedly extractFrame -- or else use the Pixels property of medImg and implay() that.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by