IMAGE SEGMENTATION - riseandshine06/computervision GitHub Wiki
Segmentation procedures are usually done using two approaches – detecting discontinuity in images and linking edges to form the region (known as edge-based segmenting), and detecting similarity among pixels based on intensity levels (known as threshold-based segmenting). the sentence from here https://www.geeksforgeeks.org/thresholding-based-image-segmentation/
Thresholding Based Image Segmentation
this approach is about to intensity of an image's pixels. if intensity more than the threshold value it will be white(1) pixel, is its not it will be black(0).
Edge Based Image Segmentation