clearcanvas if file is a dicomfile
开发者_开发百科How to check if file is a dicomfile?
The Clearcanvas DicomFile.Load
method throws an exception if the file is not a valid dicomfile. On the clearcanvas forums. I've found a similar topic. They are saying that if you ónly want to see if the file is a valid dicom file, you can add the following parameter to the DicomFile.Load
method: DicomReadOptions.DoNotStorePixelDataInDataSet
, this will speed it up a bit.
精彩评论