[vtkusers] how can I read a series of .jepg
David Gobbi
david.gobbi at gmail.com
Sun Feb 27 20:30:01 EST 2011
2011/2/27 worry_wang <worry_wang at 163.com>:
> Hello
> I used read a series of dicom data using the function
> vtkDICOMImageReader::SetDirectoryName.Recently I want to extract isosurface
> with a series of jepg data.But vtkJPEGReader has not the function
> like vtkDICOMImageReader::SetDirectoryName.What shall I do to read these
> jepg data?
The image readers have a method called SetFileNames() that takes a
vtkStringArray containing a list of files.
Also take a look at the classes vtkGlobFileNames and vtkSortFileNames,
they can be used to generate a vtkStringArray that contains the names
of all the files in a directory.
- David
More information about the vtkusers
mailing list