:py:mod:`cars.applications.hole_detection.cloud_to_bbox` ======================================================== .. py:module:: cars.applications.hole_detection.cloud_to_bbox .. autoapi-nested-parse:: CARS holes detection module init file Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: cars.applications.hole_detection.cloud_to_bbox.CloudToBbox Functions ~~~~~~~~~ .. autoapisummary:: cars.applications.hole_detection.cloud_to_bbox.compute_mask_bboxes_wrapper .. py:class:: CloudToBbox(conf=None) Bases: :py:obj:`cars.applications.hole_detection.hole_detection.HoleDetection` CloudToBbox .. py:method:: check_conf(conf) Check configuration :param conf: configuration to check :type conf: dict :return: overloaded configuration :rtype: dict .. py:method:: run(epipolar_images_left, epipolar_images_right, classification=None, margin=0, orchestrator=None, pair_folder=None, pair_key='PAIR_0') Run Refill application using plane method. :param epipolar_images_left: left epipolar image :type epipolar_images_left: CarsDataset :param epipolar_images_right: right epipolar image :type epipolar_images_right: CarsDataset :param is_activated: activate application :type is_activated: bool :param margin: margin to use :type margin: int :param classification: mask classes to use :type classification: list(str) :param orchestrator: orchestrator used :type orchestrator: Orchestrator :param pair_folder: folder used for current pair :type pair_folder: str :param pair_key: pair id :type pair_key: str :return: left holes, right holes :rtype: Tuple(CarsDataset, CarsDataset) .. py:function:: compute_mask_bboxes_wrapper(left_image_dataset, right_image_dataset, window_left, window_right, overlap_left, overlap_right, classification, margin=20, saving_info_left=None, saving_info_right=None) Compute mask bounding boxes. :param left_image_dataset: tiled Left image - dataset with : - cst.EPI_IMAGE - cst.EPI_MSK (if given) - cst.EPI_COLOR (for left, if given) :type left_image_dataset: xr.Dataset - dataset with : - cst.EPI_IMAGE - cst.EPI_MSK (if given) - cst.EPI_COLOR (for left, if given) :param right_image_dataset: tiled Right image :type right_image_dataset: xr.Dataset :param window_left: left window :type window_left: dict :param window_right: right window :type window_right: dict :param overlap_left: left overlpas :type overlap_left: dict :param overlap_right: right overlaps :type overlap_right: dict :param classification: mask classes to use :type classification: list(str) :param margin: margin to use :type margin: int :param saving_info_left: saving infos left :type saving_info_left: dict :param saving_info_right: saving infos right :type saving_info_right: dict :return: Left image object, Right image object (if exists) Returned objects are composed of dataset with : - cst.EPI_IMAGE - cst.EPI_MSK (if given) - cst.EPI_COLOR (for left, if given)