Signed-off-by: bluepulsar <cheungken3@yahoo.com.hk>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user