MCPcopy Index your code
hub / github.com/YikiDragon/SolarPanelDefectDetect / segment

Function segment

image_utils.py:124–494  ·  view source on GitHub ↗

电池板自动化分割 :param image_corrected: 校正后的电池板图 :param trough_th: 波谷判别阈值,用于确定分割位置(弃用) :param seg_method: 分割方法,0-纯波谷分割,1-平均分割, 2-均值间隔探测波谷, 3-均值间隔+波谷, 4-FFT频谱分析 :param debug: 调试开关 :return: segmentations 列表,每个元素格式为[[起始点坐标,终止点坐标], 分割图, 晶片行列编号]

(image_corrected: np.ndarray, trough_th=200, seg_method=0, debug=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

autosegment.pyFile · 0.90
do_detectMethod · 0.90
image_utils.pyFile · 0.85

Calls 2

trough_clusteringFunction · 0.85
fft_to_rcFunction · 0.85

Tested by

no test coverage detected