Major:
- Add synapse segmentation options for instance segmentation (in experimental state)
Minor:
- Add script to convert instance segmentation datasets into detection workflow format
- Print a better message when shapes does not match between samples
- Some variables for detection has been modified and now don't need to be set per class values:
- Change `TEST.POST_PROCESSING.REMOVE_CLOSE_POINTS_RADIUS` default value to `0`
- Change `TEST.POST_PROCESSING.DET_WATERSHED_FIRST_DILATION` default value to `[-1,-1]`
- Change `TEST.DET_MIN_TH_TO_BE_PEAK` default value to `0.2`
- Change `TEST.DET_TOLERANCE` default value to `10`
- Add instance segmentation multihead test in `run_checks.py`
- Update `convert_old_model_cfg_to_current_version` function to cover new changes
Bugs fixed:
- Handle multiple data within Zarr/H5 during test
- Delete channel restriction when ensuring 3D shape ([convert_instance_data_to_detection.py](https://github.com/BiaPyX/BiaPy/blob/master/biapy/utils/scripts/convert_instance_data_to_detection.py))
- Fix class prediction to the points in detection
- Fix error with `diplib` package
- Fix issue between `TRAIN.PATIENCE` and `TRAIN.LR_SCHEDULER.REDUCEONPLATEAU_PATIENCE`
- Solve issues with data type during detection watershed so the instance properties can be measured with `diplib` as it does not support int64 data type
- Fix issue when multiple raw images (lightmycells case) were provided
- Fix issue with BMZ model exportation
- Solve issues with `run_checks.py` due to recent changes. Now it is correctly reporting when a test crashes as it will crash too.
**Full Changelog**: https://github.com/BiaPyX/BiaPy/compare/v3.5.8...v3.5.9