vtkDICOMImageReader (000002633B49FDB0):

Hi,
I am working on a simple DICOM reader application using Qt framwork.
I followed this code:


When i try read a DICOM image file, it shows the following error.

ERROR: In D:\VTK\VTK-9.0.1\IO\Image\vtkDICOMImageReader.cxx, line 143
vtkDICOMImageReader (000002633B49FDB0): Couldn’t open D:/digest_article/brain_006.dcm

ERROR: In D:\VTK\VTK-9.0.1\IO\Image\vtkDICOMImageReader.cxx, line 237
vtkDICOMImageReader (000002633B49FDB0): Either a filename was not specified or the specified directory does not contain any DICOM images.

ERROR: In D:\VTK\VTK-9.0.1\Common\ExecutionModel\vtkExecutive.cxx, line 753
vtkCompositeDataPipeline (000002633B488A30): Algorithm vtkDICOMImageReader(000002633B49FDB0) returned failure for request: vtkInformation (000002633B49BA10)
Debug: Off
Modified Time: 1594
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1
FROM_OUTPUT_PORT: 0

Generic Warning: In D:\VTK\VTK-9.0.1\GUISupport\Qt\QVTKOpenGLNativeWidget.cxx, line 324
QVTKOpenGLNativeWidget::GetInteractor was deprecated for VTK 9.0 and will be removed in a future version. Use QVTKOpenGLNativeWidget::interactor instead.

My Os is Windows 10
Qt version: 5.15.0
VTK version: 9.0

How to deal with this? please guide me .