We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
philipp-does-fun-hacker-stuff
Lab Session 2
Wrong thresholds:
Image: 28, Dice: 0.75, T=35 Image: 29, Dice: 0.65, T=41 Image: 33, Dice: 0.60, T=60 Image: 44, Dice: 0.59, T=64 Image: 46, Dice: 0.37, T=58 Image: 49, Dice: 0.80, T=46
Should be:
Image: 28, Dice: 0.75, T=35 Image: 29, Dice: 0.65, T=41 Image: 33, Dice: 0.43, T=71 Image: 44, Dice: 0.58, T=67 Image: 46, Dice: 0.08, T=75 Image: 49, Dice: 0.80, T=46
The text was updated successfully, but these errors were encountered:
The error was in the computation of your histogram:
h = np.zeros(255) for x in range(255): h[x]= np.sum(img8 == x)
This should be:
h = np.zeros(256) for x in range(256): h[x]= np.sum(img8 == x)
In your implementation, the frequencies of intensity 255 were not computed, and thus not considered by your Otsu implementation.
Sorry, something went wrong.
kostrykin
No branches or pull requests
Repository
philipp-does-fun-hacker-stuff
Access rights
Git commit and push
Task
Lab Session 2
Describe the problem (if possible)
Wrong thresholds:
Should be:
The text was updated successfully, but these errors were encountered: