Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-Dimension of haralick features is not aligned with mask width #121

Open
akanksha28pathak opened this issue Apr 5, 2023 · 2 comments
Open

Comments

@akanksha28pathak
Copy link

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.

@mohsenhariri
Copy link
Member

Could you confirm if your mask is correct?

image

@akanksha28pathak
Copy link
Author

Image_mask_plot
Yes the mask is correct. It is just the boundary of the foreground.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants