File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
55 # # Load inputs for comparison
66 segmentation_B_not_ice_mask = float64 .(load (" $(test_data_dir) /matlab_not_ice_mask.png" ))
7- segmentation_C_ice_mask = load (segmented_c_test_file) .>= 0.5
7+ segmentation_C_ice_mask = load (segmented_c_test_file) .> 0
88 cloudmask = convert (BitMatrix, load (cloudmask_test_file))
99 landmask = convert (BitMatrix, load (current_landmask_file))
10- watershed_intersect = load (watershed_test_file) .>= 0.5
10+ watershed_intersect = load (watershed_test_file) .> 0
1111 ice_labels =
1212 Int64 .(
1313 vec (DelimitedFiles. readdlm (" $(test_data_dir) /ice_labels_floe_region.csv" , ' ,' ))
1414 )
1515 matlab_isolated_floes =
16- float64 .(load (" $(test_data_dir) /matlab_isolated_floes.png" )) .>= 0.5
16+ float64 .(load (" $(test_data_dir) /matlab_isolated_floes.png" )) .> 0
1717
1818 # # Run function with Matlab inputs
1919
3434
3535 @test typeof (isolated_floes) == typeof (matlab_isolated_floes)
3636 @test test_similarity (
37- isolated_floes, matlab_isolated_floes[ice_floe_test_region... ], 0.033
37+ isolated_floes, matlab_isolated_floes[ice_floe_test_region... ], 0.035
3838 )
3939end
You can’t perform that action at this time.
0 commit comments