Signed-off-by: bluepulsar <cheungken3@yahoo.com.hk>

This commit is contained in:
bluepulsar
2025-12-28 19:10:38 +08:00
parent 4192683271
commit 79c55b7529
4 changed files with 8 additions and 21 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ def main():
# 计算扩张焦点
# foe_result = orisys.util.compute_foe(vnormal,min_magnitude=1,expansion_threshold=0.01,downsample_factor=1)
foe_result = sensor.get_foe(multiple_foe=False, min_magnitude=1, expansion_threshold=0.01, downsample_factor=1,denoise_sigma=10)
foe_result = sensor.get_foe(multiple_foe=False, min_magnitude=1, expansion_threshold=0.01,denoise_sigma=15)
# 在图像上绘制焦点和区域
image_with_foe = orisys.util.draw_foe(sensor.img.copy(), foe_result)
cv2.imshow("Focus of Expansion", image_with_foe)