Skip to content

morphology_parameters: AttributeErrror #2309

Closed Answered by Tobychev
Elisa-Visentin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Elisa-Visentin, it looks like you've come across a bug! Please create an issue reporting the problem 🙏

Probably some of your image contains single pixels that somehow survive cleaning and thus result in neightbour matrices that contain only a single value and are thus not proper numpy arrays, which is why the comparison results in a bool type variable instead of an array of values that does have the sum attribute.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Elisa-Visentin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants