Describe the bug
a bug in convert_mask_to_box, will fail for multi-class detection
To Reproduce
Steps to reproduce the behavior:
boxes_mask = numpy.asarray([[[-1, 0],[0, -1]]])
monai.apps.detection.transforms.box_ops.convert_mask_to_box(boxes_mask)
Expected behavior
If correct, should output (array([[0., 0., 2., 2.]], dtype=float32), array([0]))
Yet it will output (array([[0., 0., 2., 2.]], dtype=float32), array([-1]))
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Ensuring you use the relevant python executable, please paste the output of:
python -c 'import monai; monai.config.print_debug_info()'
Additional context
Add any other context about the problem here.