I would like to know how to convert a DICOM multiframe image to a .flv
file , so that i can play it in a flash player.
I need to code this conversion in Java.
So please suggest me the procedure to do this and also any opensource
java libraries available to do the job...
I would use gdcm/dcmtk to convert to some kind of raw file, then use
ffmpeg to convert to flv.
2cts
Thanks Mathieu.
I used fpimage tool to convert the .dcm file to .avi and ffmpeg to
convert the .avi file to .flv file.
But my project demands me to write code to automate this process using
java.
As of now i have no idea how to do this conversion.
I would be very thankful, if anyone could give me an idea, links or
anything , which would help in this task.
Regards,
Naveen.
Simply wraps everything in a Java call. Either using JNI directly or
using SWIG
2cts
Have a look here:
http://dicom.netpatia.com/multiframe/multiframe.html
I posted the details of the conversion process and the tools used in
the Dcm4che forums:
http://forums.dcm4che.org/jiveforums/click.jspa?messageID=6678
Thanks a lot josean.
Your suggestions were indeed helpful.
I was actually planning to code the entire process but found its not
going to be easy. So looked around for open source tool and found
another tool ffmpeg.
What i did was :
1) Break the dicom multi frame image into individual frames and
generated jpeg images from them.
2) Used ffmpeg tool to convert these jpegs to flv/mpg/mov.
Naveen.
The other thing i would like to know is, while converting a mpeg file
to dicom or a jpeg file to dicom , what are the minimum set of
attributes required ?
Does the dicom standard provide any template for this ?
Naveen.