How to check file is DICOM

615 views
Skip to first unread message

dhava...@gmail.com

unread,
Apr 17, 2013, 2:15:15 PM4/17/13
to dcm...@googlegroups.com
Hi

I want to check if file is DICOM File, (Note : File does have .dcm extension) . Should I just check DICOM Tags and say File is DICOM File ?
Is there any other way


dimitri pianeta

unread,
Apr 18, 2013, 5:05:30 AM4/18/13
to dcm...@googlegroups.com
One solution is following din = org.dcm4che2.io.DicomInputStream(java.io.BufferedInputStream(java.io.FileInputStream(fileInput)));
Second solution: seeing     code dcm4che2 DicomInputStream and seeing method  guessTransferSyntax() of class DicomInputStream



DicomInputStream.java

dhaval joshi

unread,
Apr 22, 2013, 11:55:15 AM4/22/13
to dcm...@googlegroups.com
Thanks


On Thu, Apr 18, 2013 at 2:05 AM, dimitri pianeta <dimitri...@gmail.com> wrote:
One solution is following din = org.dcm4che2.io.DicomInputStream(java.io.BufferedInputStream(java.io.FileInputStream(fileInput)));
Second solution: seeing     code dcm4che2 DicomInputStream and seeing method  guessTransferSyntax() of class DicomInputStream




--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/ZbGRnCBETcU/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Thanks
Dhaval Joshi
Reply all
Reply to author
Forward
0 new messages