Skip to content

Commit 8cd0351

Browse files
committed
Update to only include visibility
1 parent 123acca commit 8cd0351

File tree

2 files changed

+15
-28
lines changed

2 files changed

+15
-28
lines changed

doc/images/OSI_Obstruction_visibility.svg

Lines changed: 1 addition & 0 deletions
Loading

osi_sensorview.proto

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -187,40 +187,26 @@ message Obstruction
187187
//
188188
optional Identifier ground_truth_id = 1;
189189

190-
// Level of occlusion for the object.
191-
//
192-
// The occlusion level represents a fraction of object volume exposed to the
193-
// sensor assuming the sensor had a full 360 degree field of view (so ignoring
194-
// any truncation of that object).
195-
//
196-
// The possibly occluding objects might be moving ones (other vehicles, pedestrians
197-
// etc) as well as stationary ones (like buildings, trees etc).
198-
//
199-
// Value in range between 0.0 (not occluded) and 1.0 (fully occluded).
200-
//
201-
optional double occlusion = 2;
202-
203-
// Level of truncation for the object.
204-
//
205-
// The truncation level represents a fraction of object volume remaining
206-
// outside of sensor's field of view. The truncation value is independent of
207-
// the occlusion value, so something can be fully occluded but not truncated.
208-
//
209-
// The value is in range between 0.0 (fully within FOV) and 1.0 (fully truncated).
210-
//
211-
optional double truncation = 3;
212-
213190
// Total visible proportion for the object.
214191
//
215-
// This value combines both truncation and occlusion to provide a indicate how
216-
// visible an object is from the view of a particular sensor.
192+
// This value considers various factors that would stop an object from being
193+
// visible from the point of view of this sensor. It should include
194+
// truncation (outside of the field of view of the sensor), distance (beyond
195+
// the range of the sensor), and occlusion (how hidden is the object by
196+
// other objects in the scene).
217197
//
218-
// \note This is not the sum of the occlusion and truncation values as the
219-
// two values are independent, so they may overlap, or they may be distinct.
198+
// Occlusion can be caused by both static objects (trees, buildings, etc.)
199+
// and dynamic objects (cars, pedestrians, etc.). By convention
200+
// semi-transparent surfaces (e.g. car windows) are considered opaque.
201+
//
202+
// \note The object is considered to be the 2D cross-section of the object
203+
// as visible from the sensor.
220204
//
221205
// The value is in the range 0.0 (fully hidden) and 1.0 (fully visible).
222206
//
223-
optional double visible = 4;
207+
// \image html OSI_Obstruction_visibility.svg "Obstruction visibility"
208+
//
209+
optional double visibility = 2;
224210
}
225211

226212
//

0 commit comments

Comments
 (0)