How to adjust the distorted image?

Looking at this a bit more, it’s clear that these are pretty non-standard files.

Running @dclunie’s verifier points out that the file is internally inconsistent.

$ dciodvfy /tmp/3dslicer\ test/Ferrassie\ 1-MbsSup.0135.dcm
...
Error - Media Storage SOP Class UID different from SOP Class UID
...

The media class is the DCMTK private class while the image SOP class is Secondary Capture. Because of this GDCM looks for spacing in tag 0x0018,0x2010 while the file actually has it in 0x0028,0x0030.

I guess the best for you @laura_rodriguez might be to look into the history of these files and see if any of the DICOM information can be relied on. If not maybe save them in a less ambiguous way, either as fixed DICOM or maybe in nrrd or similar format.

For the record some of the related GDCM code is linked below.