def save_undistorted_image(self, image, array): """Save undistorted image pixels.""" io.mkdir_p(self._undistorted_image_path()) io.imwrite(self._undistorted_image_file(image), array)
def save_undistorted_mask(self, image, array): """Save the undistorted image mask.""" io.mkdir_p(self._undistorted_mask_path()) io.imwrite(self._undistorted_mask_file(image), array)
def save_undistorted_segmentation(self, image, array): """Save the undistorted image segmentation.""" io.mkdir_p(self._undistorted_segmentation_path()) io.imwrite(self._undistorted_segmentation_file(image), array)
def save_undistorted_detection(self, image: str, array: np.ndarray) -> None: """Save the undistorted image detection.""" io.mkdir_p(self._undistorted_detection_path()) io.imwrite(self._undistorted_detection_file(image), array)
def save_undistorted_image(self, image: str, array: np.ndarray) -> None: """Save undistorted image pixels.""" io.mkdir_p(self._undistorted_image_path()) io.imwrite(self._undistorted_image_file(image), array)
def save_undistorted_image(self, image, array): io.mkdir_p(self._undistorted_image_path()) io.imwrite(self._undistorted_image_file(image), array)
def save_full_mosaic_image(self, image, array): io.mkdir_p(self._full_mosaic_path()) io.imwrite(self._full_mosaic_file(image))