uccser/cs-field-guide

View on GitHub
csfieldguide/chapters/content/en/glossary/thresholding.md

Summary

Maintainability
Test Coverage
# Thresholding

A very simple method of image segmentation.
For every pixel in an image; if it is above a certain *threshold*, the pixel is set to a certain colour (often white).
Otherwise it is set to another certain colour (often black).