cars.pipelines.default.default_pipeline

CARS default pipeline class file

Module Contents

Classes

DefaultPipeline

DefaultPipeline

class cars.pipelines.default.default_pipeline.DefaultPipeline(conf, config_json_dir=None)[source]

Bases: cars.pipelines.pipeline_template.PipelineTemplate

DefaultPipeline

quit_on_app(app_name)[source]

Returns whether the pipeline should end after the application was called.

Only works if the output_level is empty, so that the control is instead given to

infer_conditions_from_applications(conf)[source]

Fills the condition booleans used later in the pipeline by going through the applications and infering which application we should end the pipeline on.

static check_inputs(conf, config_json_dir=None)[source]

Check the inputs given

Parameters
  • conf (dict) – configuration of inputs

  • config_json_dir (str) – directory of used json, if user filled paths with relative paths

Returns

overloaded inputs

Return type

dict

static check_output(conf)[source]

Check the output given

Parameters

conf (dict) – configuration of output

:return overloader output :rtype : dict

check_applications(conf)[source]

Check the given configuration for applications, and generates needed applications for pipeline.

Parameters

conf (dict) – configuration of applications

check_applications_with_inputs(inputs_conf, application_conf)[source]

Check for each application the input and output configuration consistency

Parameters
  • inputs_conf (dict) – inputs checked configuration

  • application_conf (dict) – application checked configuration

sensor_to_depth_maps()[source]

Creates the depth map from the sensor images given in the input, by following the CARS pipeline’s steps.

rasterize_point_cloud()[source]

Final step of the pipeline: rasterize the point cloud created in the prior steps.

filling()[source]

Fill the dsm

preprocess_depth_maps()[source]

Adds multiple processing steps to the depth maps : Merging, denoising. Creates the point cloud that will be rasterized in the last step of the pipeline.

load_input_depth_maps()[source]

Loads all the data and creates all the variables used later when processing a depth map, as if it was just computed.

final_cleanup()[source]

Clean temporary files and directory at the end of cars processing

run()

Run pipeline