[vtkusers] vtkDICOMImageReader check if I can read a directory

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Mon Jun 20 09:33:52 EDT 2016


​Unfortunately no.

Under the covers, vtkDICOMImageReader also loops over all files in the
directory and tests each file using CanReadFile().​

*Sankhesh Jhaveri*
*Sr. Research & Development Engineer*
​ | ​
Kitware <http://www.kitware.com>
​ ​|
(518) 881
​-​
4417



On Mon, Jun 20, 2016 at 4:56 AM, fblupi <fboli94 at gmail.com> wrote:

> I'm trying to check if I can read a directory with multiple DICOM images
> inside before reading it like in this example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries
> <http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries>
>
> I know that I can check an individual image with the CanReadFile method of
> vtkDICOMImageReader but, is there a way to do the same with a full
> directory?
>
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkDICOMImageReader-check-if-I-can-read-a-directory-tp5738773.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160620/9557cc28/attachment.html>


More information about the vtkusers mailing list