I\'m working on a classification problem in Python, based on dicom-images from computed tomography (CT), and I want to find out whether a 2D-slice image belongs to the thorax or