UPDATE Vision bug 坐标超范围

This commit is contained in:
HJW
2024-09-26 20:10:12 +08:00
parent a9d49178d1
commit 9b90b1e165

View File

@ -33,7 +33,6 @@ def remove_nan_mean_value(pm, y, x, iter_max=50):
y, x = out_bounds_dete(pm.shape[0], pm.shape[1], y, x)
point_x, point_y, point_z = pm[y, x]
if np.isnan(point_x):
print('Nan值去除')
point_x_list = []
point_y_list = []
point_z_list = []
@ -41,6 +40,7 @@ def remove_nan_mean_value(pm, y, x, iter_max=50):
pm_shape_y = pm.shape[0]
pm_shape_x = pm.shape[1]
remove_nan_isok = False
print('Nan值去除')
while iter_current < iter_max:
# 计算开始点
if y - iter_current > 0: