Property | Type | Description | |
---|---|---|---|
bgcheck | bool |
Method | Description | |
---|---|---|
Invert ( Bytearray a ) : void | ||
average_on_border ( Bytearray a ) : int | ||
background_seems_black ( Bytearray a ) : bool | ||
background_seems_white ( Bytearray a ) : bool | ||
binarize_simple ( Bytearray image ) : int | ||
binarize_simple ( Bytearray result, Bytearray image ) : int | ||
binarize_with_threshold ( Bytearray result, Bytearray image, int threshold ) : void | ||
binarize_with_threshold ( Bytearray result, Floatarray image, float threshold ) : void | ||
binarize_with_threshold ( Bytearray image, int threshold ) : void | ||
binsmooth ( Bytearray binary, Floatarray input, float sigma ) : void | ||
optional_check_background_is_darker ( Bytearray a ) : void | ||
optional_check_background_is_lighter ( Bytearray a ) : void | ||
scale_to ( Floatarray v, Floatarray sub, int csize, float noupscale = 1.0f, float aa = 1.0f ) : void | ||
skeletal_features ( Bytearray endpoints, Bytearray junctions, Bytearray image, float presmooth, float skelsmooth ) : void | ||
threshold_frac ( Bytearray thresholded, Floatarray input, float frac ) : void |
public static average_on_border ( Bytearray a ) : int | ||
a | Bytearray | |
return | int |
public static background_seems_black ( Bytearray a ) : bool | ||
a | Bytearray | |
return | bool |
public static background_seems_white ( Bytearray a ) : bool | ||
a | Bytearray | |
return | bool |
public static binarize_simple ( Bytearray image ) : int | ||
image | Bytearray | |
return | int |
public static binarize_simple ( Bytearray result, Bytearray image ) : int | ||
result | Bytearray | |
image | Bytearray | |
return | int |
public static binarize_with_threshold ( Bytearray result, Bytearray image, int threshold ) : void | ||
result | Bytearray | |
image | Bytearray | |
threshold | int | |
return | void |
public static binarize_with_threshold ( Bytearray result, Floatarray image, float threshold ) : void | ||
result | Bytearray | |
image | Floatarray | |
threshold | float | |
return | void |
public static binarize_with_threshold ( Bytearray image, int threshold ) : void | ||
image | Bytearray | |
threshold | int | |
return | void |
public static binsmooth ( Bytearray binary, Floatarray input, float sigma ) : void | ||
binary | Bytearray | |
input | Floatarray | |
sigma | float | |
return | void |
public static optional_check_background_is_darker ( Bytearray a ) : void | ||
a | Bytearray | |
return | void |
public static optional_check_background_is_lighter ( Bytearray a ) : void | ||
a | Bytearray | |
return | void |
public static scale_to ( Floatarray v, Floatarray sub, int csize, float noupscale = 1.0f, float aa = 1.0f ) : void | ||
v | Floatarray | |
sub | Floatarray | |
csize | int | |
noupscale | float | |
aa | float | |
return | void |
public static skeletal_features ( Bytearray endpoints, Bytearray junctions, Bytearray image, float presmooth, float skelsmooth ) : void | ||
endpoints | Bytearray | |
junctions | Bytearray | |
image | Bytearray | |
presmooth | float | |
skelsmooth | float | |
return | void |
public static threshold_frac ( Bytearray thresholded, Floatarray input, float frac ) : void | ||
thresholded | Bytearray | |
input | Floatarray | |
frac | float | |
return | void |