ROI-based segmentation in MONAI Label Slicer extension does not work correctly for specific labels

Problem Description

I am using the MONAI Label Slicer extension to perform ROI-based segmentation for a specific label.
Although the ROI is drawn correctly in Slicer, the segmentation result does not respect the selected ROI and target label.

Observed behavior:

  • The model ignores the ROI or partially applies it

  • The output segmentation includes regions outside the ROI

  • Sometimes a different label is segmented instead of the selected one

  • Results are inconsistent across multiple runs on the same data

Expected behavior:

  • Segmentation should be strictly constrained to the provided ROI

  • Only the selected label should be segmented

  • Output should be deterministic for the same ROI and input volume