Which threshold fits the image?
Use fixed thresholding for stable lighting, Otsu for distinct intensity groups, or adaptive thresholding for uneven illumination.
Elysia Tools
Navigation
Workflow Playbook
Turn images into binary masks, compare threshold methods, repair foreground shapes, and combine masks with morphological and Boolean operations.
Hubs
This hub follows the mask-preparation workflow used before OCR, contour analysis, object measurement, and simple computer-vision tasks. Start with manual, Otsu, or adaptive thresholding; clean the foreground with erosion, dilation, opening, or closing; then invert, intersect, merge, or compare masks as needed.
A single threshold does not fit every image: fixed thresholds suit controlled contrast, Otsu works well with separable histograms, and adaptive thresholds handle uneven lighting.
Morphological operations solve different mask defects without returning to manual editing: opening removes small foreground noise, while closing fills holes and reconnects nearby regions.
Boolean mask tools make multi-step analysis practical by preserving intersections, merging regions, exposing differences, or reversing foreground and background.
Boolean mask tools make multi-step analysis practical by preserving intersections, merging regions, exposing differences, or reversing foreground and background.
Align masks before Boolean operations, inspect boundaries and holes, confirm foreground polarity, and export the checked binary result.
Workflow playbook
Convert the image to black and white, then compare fixed, Otsu, and adaptive threshold results against the input lighting and contrast.
Inspect holes, specks, thin bridges, and broken strokes; apply only the morphology needed and retain the best intermediate mask.
Align masks with matching dimensions, then use AND, OR, or XOR for shared, combined, or differing regions.
Use NOT when the downstream tool needs the opposite polarity, then check edges, holes, isolated pixels, and file format.
Use fixed thresholding for stable lighting, Otsu for distinct intensity groups, or adaptive thresholding for uneven illumination.
Use erosion to shrink, dilation to expand, opening to remove small noise, and closing to fill holes or bridge regions.
Use AND for overlap, OR for union, XOR for differences, and NOT to invert polarity; align masks first.