Binarizer

Overview

StructuralGT.binarizer

Details

class StructuralGT.binarizer.Binarizer(filename, export_dir=None)

Bases: object

Class for providing realtime image binarization to determine optimal image processing parameters.

Args:
filename (str):

The name of the file to binarize.

binarize_widget(Thresh_method, gamma, md_filter, autolvl, g_blur, fg_color, laplacian, scharr, sobel, lowpass, thr, asize, bsize, wsize, export)

The widget method. Interacted with by calling binarize().