Extract frames from a multi-frame image

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
stikhs
Posts: 4
Joined: Tue, 2006-12-05, 11:33

Extract frames from a multi-frame image

#1 Post by stikhs »

Hallo!

I have an IVUS video in dcm format and i want through my application to extract particular frames from the multi-frame image.Is there a possibility i can acheive this with dcmj2pnm.cxx?I also want to store these frames in a jpeg format!can you please give me some instructions on how to do this?

Thank you in advance

P.S. I am using borland c++6 under windows xp

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Why don't you just use one of the existing command line options?

Code: Select all

frame selection:

  +F    --frame  [n]umber : integer
          select specified frame (default: 1)

  +Fr   --frame-range  [n]umber [c]ount : integer
          select c frames beginning with frame n

  +Fa   --all-frames
          select all frames

stikhs
Posts: 4
Joined: Tue, 2006-12-05, 11:33

#3 Post by stikhs »

Yes i've tried that and it works perfectly!Thanks a lot!

George
Posts: 52
Joined: Sun, 2023-11-12, 16:50

Re: Extract frames from a multi-frame image

#4 Post by George »

it would be nice to give examples on how to extract multi-frames, how to use Fr option and fa option

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest