Skip to content

Commit 3eac552

Browse files
committed
Change LK default parameters
1 parent a7fcb85 commit 3eac552

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pysteps/motion/lucaskanade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def dense_lucaskanade(input_images,
5555
nr_std_outlier=3,
5656
k_outlier=30,
5757
size_opening=3,
58-
decl_scale=10,
58+
decl_scale=20,
5959
verbose=False):
6060
"""Run the Lucas-Kanade optical flow routine and interpolate the motion
6161
vectors.

pysteps/utils/images.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030

3131

3232
def ShiTomasi_detection(input_image,
33-
max_corners=500,
34-
quality_level=0.1,
35-
min_distance=3,
36-
block_size=15,
33+
max_corners=1000,
34+
quality_level=0.01,
35+
min_distance=10,
36+
block_size=5,
3737
buffer_mask=0,
3838
use_harris=False,
3939
k=0.04,

0 commit comments

Comments
 (0)