Repository: Project-MONAI/MONAI

Issue:
TypeError: regionprops() got an unexpected keyword argument 'coordinates'
```
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_0 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z] 
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_1 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z] 
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_2 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z] 
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_3 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.191Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.191Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.191Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.191Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.191Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.191Z] 
[2023-03-01T01:56:26.191Z] ======================================================================
[2023-03-01T01:56:26.191Z] ERROR: test_read_patches_cucim_4 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.191Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.191Z] Traceback (most recent call last):
[2023-03-01T01:56:26.191Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.191Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.191Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.191Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.192Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.192Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.192Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.192Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.192Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.192Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.192Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.192Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.192Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.192Z] 
[2023-03-01T01:56:26.192Z] ======================================================================
[2023-03-01T01:56:26.192Z] ERROR: test_read_patches_cucim_5 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.192Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z] 
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_6 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z] 
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_7 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z] 
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_8 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z] 
[2023-03-01T01:56:26.448Z] ======================================================================
[2023-03-01T01:56:26.448Z] ERROR: test_read_patches_cucim_9 (tests.test_lesion_froc.TestEvaluateTumorFROC)
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
[2023-03-01T01:56:26.448Z] Traceback (most recent call last):
[2023-03-01T01:56:26.448Z]   File "/usr/local/lib/python3.8/dist-packages/parameterized/parameterized.py", line 533, in standalone_func
[2023-03-01T01:56:26.448Z]     return func(*(a + p.args), **p.kwargs)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/test_lesion_froc.py", line 324, in test_read_patches_cucim
[2023-03-01T01:56:26.448Z]     froc_score = froc.evaluate()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 161, in evaluate
[2023-03-01T01:56:26.448Z]     fp_probs, tp_probs, num_targets, num_images = self.compute_fp_tp()
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 139, in compute_fp_tp
[2023-03-01T01:56:26.448Z]     ground_truth, itc_labels = self.prepare_ground_truth(sample)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/metrics/lesion_froc.py", line 122, in prepare_ground_truth
[2023-03-01T01:56:26.448Z]     itc_labels = compute_isolated_tumor_cells(tumor_mask=tumor_mask, threshold=itc_threshold)
[2023-03-01T01:56:26.448Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/apps/pathology/utils.py", line 55, in compute_isolated_tumor_cells
[2023-03-01T01:56:26.448Z]     properties = measure.regionprops(tumor_mask, coordinates="rc")
[2023-03-01T01:56:26.448Z] TypeError: regionprops() got an unexpected keyword argument 'coordinates'
[2023-03-01T01:56:26.448Z] 
[2023-03-01T01:56:26.448Z] ----------------------------------------------------------------------
```


Discussion:

Resolving patch:
diff --git a/monai/apps/pathology/utils.py b/monai/apps/pathology/utils.py
--- a/monai/apps/pathology/utils.py
+++ b/monai/apps/pathology/utils.py
@@ -52,7 +52,7 @@ def compute_isolated_tumor_cells(tumor_mask: np.ndarray, threshold: float) -> li
             A region with the longest diameter less than this threshold is considered as an ITC.
     """
     max_label = np.amax(tumor_mask)
-    properties = measure.regionprops(tumor_mask, coordinates="rc")
+    properties = measure.regionprops(tumor_mask)
     itc_list = [i + 1 for i in range(max_label) if properties[i].major_axis_length < threshold]
 
     return itc_list


Test patch:
diff --git a/tests/test_spatial_crop.py b/tests/test_spatial_crop.py
--- a/tests/test_spatial_crop.py
+++ b/tests/test_spatial_crop.py
@@ -42,7 +42,6 @@
 
 TEST_LAZY_ERRORS = [[{"roi_start": [1, 0, 0], "roi_end": [1, 8, 8]}, (3, 3, 3, 3), (3, 0, 3, 3)]]
 
-
 func1 = {CenterSpatialCrop: {"roi_size": [8, 8, 6]}}
 func2 = {SpatialCrop: {"roi_center": [1, 1, 1], "roi_size": [3, 4, 3]}}
 func3 = {CenterScaleCrop: {"roi_scale": [0.6, 0.3, -1]}}