# SlicerBatchAnonymize fails to read CT

**URL:** <https://discourse.slicer.org/t/slicerbatchanonymize-fails-to-read-ct/35886>\
**Category:** Support\
**Created:** [May 3, 2024, 8:46am UTC](https://discourse.slicer.org/t/slicerbatchanonymize-fails-to-read-ct/35886 "2024-05-03T08:46:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [May 3, 2024, 8:46am UTC](https://discourse.slicer.org/t/slicerbatchanonymize-fails-to-read-ct/35886/1 "2024-05-03T08:46:59Z")

</div>

Hello,  
I’m anonymizing several CT using the _SlicerBatchAnonymize_ extension. It works well except for one CT.  
I can load the CT manually using the DICOM data module without any issue.

I get the following errors :

```auto
[VTK] Size mismatch! The size of C:/path/000000.dcm is [512, 512, 563] and does not match the required size [512, 512, 1] from file C:/path/000000.dcm
[VTK] Algorithm vtkITKArchetypeImageSeriesScalarReader (000002811EFFB0C0) returned failure for request: vtkInformation (000002810FAEC4C0)
[VTK] Debug: Off
[VTK] Modified Time: 242836
[VTK] Reference Count: 1
[VTK] Registered Events: (none)
[VTK] Request: REQUEST_DATA
[VTK] FORWARD_DIRECTION: 0
[VTK] ALGORITHM_AFTER_FORWARD: 1
[VTK] FROM_OUTPUT_PORT: 0
[Python] Could not read scalar volume using GDCM approach. Error is: FileFormatError
[VTK] Size mismatch! The size of C:/path/000000.dcm is [512, 512, 563] and does not match the required size [512, 512, 1] from file C:/path/000000.dcm
[VTK] Algorithm vtkITKArchetypeImageSeriesScalarReader (000002811EFF9CC0) returned failure for request: vtkInformation (000002817EB5AAD0)
[VTK] Debug: Off
[VTK] Modified Time: 243083
[VTK] Reference Count: 1
[VTK] Registered Events: (none)
[VTK] Request: REQUEST_DATA
[VTK] FORWARD_DIRECTION: 0
[VTK] ALGORITHM_AFTER_FORWARD: 1
[VTK] FROM_OUTPUT_PORT: 0
[Python] Could not read scalar volume using DCMTK approach. Error is: FileFormatError
[Python] Error reading/writing file: C:\path
[Python] 'NoneType' object has no attribute 'GetImageData'

```

I don’t know if it’s relevant but when I load the CT throught the DICOM database, it get the mention _- imageType ORIGINAL-PRIMARY-AXIAL_
