Beispiel #1
0
 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)
Beispiel #2
0
 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)
Beispiel #3
0
 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)
Beispiel #4
0
 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)
Beispiel #5
0
 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)
Beispiel #6
0
 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)
Beispiel #7
0
 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)
Beispiel #8
0
 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)
Beispiel #9
0
 def save_undistorted_image(self, image, array):
     io.mkdir_p(self._undistorted_image_path())
     io.imwrite(self._undistorted_image_file(image), array)
Beispiel #10
0
 def save_full_mosaic_image(self, image, array):
     io.mkdir_p(self._full_mosaic_path())
     io.imwrite(self._full_mosaic_file(image))