|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Parameters for graph_segment", |
| 4 | + "type": "object", |
| 5 | + "definitions": { |
| 6 | + "graph_segment": { |
| 7 | + "type": "object", |
| 8 | + "properties": { |
| 9 | + "target_height_ratio": { |
| 10 | + "type": "number", |
| 11 | + "description": "height on the image to retrieve the candidate road surface", |
| 12 | + "default": 0.85 |
| 13 | + }, |
| 14 | + "target_candidate_box_width": { |
| 15 | + "type": "number", |
| 16 | + "description": "size of the square area to search for candidate road surfaces", |
| 17 | + "default": 15 |
| 18 | + }, |
| 19 | + "pickup_additional_graph_segment": { |
| 20 | + "type": "boolean", |
| 21 | + "description": "if this is true, additional regions of similar color are retrieved", |
| 22 | + "default": true |
| 23 | + }, |
| 24 | + "similarity_score_threshold": { |
| 25 | + "type": "number", |
| 26 | + "description": "threshold for picking up additional areas", |
| 27 | + "default": 0.8 |
| 28 | + }, |
| 29 | + "sigma": { |
| 30 | + "type": "number", |
| 31 | + "description": "parameter for cv::ximgproc::segmentation::GraphSegmentation", |
| 32 | + "default": 0.5 |
| 33 | + }, |
| 34 | + "k": { |
| 35 | + "type": "number", |
| 36 | + "description": "parameter for cv::ximgproc::segmentation::GraphSegmentation", |
| 37 | + "default": 300.0 |
| 38 | + }, |
| 39 | + "min_size": { |
| 40 | + "type": "number", |
| 41 | + "description": "parameter for cv::ximgproc::segmentation::GraphSegmentation", |
| 42 | + "default": 100.0 |
| 43 | + } |
| 44 | + }, |
| 45 | + "required": [ |
| 46 | + "target_height_ratio", |
| 47 | + "target_candidate_box_width", |
| 48 | + "pickup_additional_graph_segment", |
| 49 | + "similarity_score_threshold", |
| 50 | + "sigma", |
| 51 | + "k", |
| 52 | + "min_size" |
| 53 | + ], |
| 54 | + "additionalProperties": false |
| 55 | + } |
| 56 | + }, |
| 57 | + "properties": { |
| 58 | + "/**": { |
| 59 | + "type": "object", |
| 60 | + "properties": { |
| 61 | + "ros__parameters": { |
| 62 | + "$ref": "#/definitions/graph_segment" |
| 63 | + } |
| 64 | + }, |
| 65 | + "required": ["ros__parameters"], |
| 66 | + "additionalProperties": false |
| 67 | + } |
| 68 | + }, |
| 69 | + "required": ["/**"], |
| 70 | + "additionalProperties": false |
| 71 | +} |
0 commit comments