We are using itkImageSeriesReader which support different
formats DICOM, JPEG, TIFF, PNG to read in a series but size of images should be
same. Then itkImageToVTKImageFilter will convert data from itk to vtk image
format that we will visualize through VTK+Qt pipeline. In VTK you can try both
viewers just by uncomment two lines of vtkImageViewer2 and comment lines of vtkResliceImageViewer.
Application have :
Step 1. Copy XML code of ui form into a text editor and save
it as mainwindow.ui format. It will create ui.
Step 2. Create headers, cpp and cmake files.
Step 3. Cmake to generate project file, build and run.