(self, image: str, array: np.ndarray)
Save the undistorted image mask.
Save the undistorted image mask.
Save the undistorted image mask .
def save_undistorted_mask(self, image: str, array: np.ndarray) -> None:
        """Save the undistorted image mask."""
        self.io_handler.mkdir_p(self._undistorted_mask_path())
        self.io_handler.imwrite(self._undistorted_mask_file(image), array)
def save_undistorted_mask ( self , image : str , array : np . ndarray ) -> None : self . io_handler . mkdir_p ( self . _undistorted_mask_path ( ) ) self . io_handler . imwrite ( self . _undistorted_mask_file ( image ) , array )