Python Implementation of the CoLlAGe radiomics descriptor. CoLlAGe captures subtle anisotropic differences in disease pathologies by measuring entropy of co-occurrences of voxel-level gradient orientations on imaging computed within a local neighborhood.
BSD 3-Clause "New" or "Revised" License
15
stars
11
forks
source link
x-Dimension of haralick features is not aligned with mask width #121
The error is not consistent across data and occurs only in some cases. The error is basically that x-dimension of haralick features does not matches the mask width. The line at which error occurs is as follows:
Code line in function ‘execute’ of collageradiomics.pycollage_output[mask_min_y:mask_max_y, mask_min_x:mask_max_x, mask_min_z:mask_max_z,:, :] = haralick_features
The error is not consistent across data and occurs only in some cases. The error is basically that x-dimension of haralick features does not matches the mask width. The line at which error occurs is as follows:
Code line in function ‘execute’ of collageradiomics.py
collage_output[mask_min_y:mask_max_y, mask_min_x:mask_max_x, mask_min_z:mask_max_z,:, :] = haralick_features
Image_Mask-files.zip
Example error: ValueError: could not broadcast input array from shape (230,455,1,13,1) into shape (230,460,1,13,1)
I have attached the image file and mask for the corresponding error.