From 85b0e370e65e2646b32be5442362eb38839ce6f7 Mon Sep 17 00:00:00 2001 From: Fischer Robert Date: Tue, 23 Jan 2024 15:02:01 +0100 Subject: [PATCH] allow float ball radius --- 03_nc_to_npy_for_openvdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_nc_to_npy_for_openvdb.py b/03_nc_to_npy_for_openvdb.py index 8ad7572..a55813d 100644 --- a/03_nc_to_npy_for_openvdb.py +++ b/03_nc_to_npy_for_openvdb.py @@ -145,7 +145,7 @@ if __name__ == '__main__': parser.add_argument('-o', '--output_path', type = str, default = '', help = 'path to folder that will contain the .npy files') parser.add_argument('-i', '--input_path', type=str, default='', help = 'path to the .nc-file containing the segmented data') parser.add_argument('-cl', '--clean_image', type = bool, default = True, help = 'wheter to remove spurious pixel by binaray opening') - parser.add_argument('-fp', '--footprint', type = int, default = 1, help = 'radius of the sphere stencel used for the binary opening') + parser.add_argument('-fp', '--footprint', type = float, default = 1, help = 'radius of the sphere stencel used for the binary opening') parser.add_argument('-rs', '--remove_small', type = bool, default=True, help = 'wheter to remove objects smaller than minsize') parser.add_argument('-ms', '--minsize', type = int, default=20, help = 'minimum size of connected objects to keep') parser.add_argument('-ts', '--time_step', type = int, default=0, help = 'time step that is processed, -1 for all')