Closed
Description
Hi,
in the Current OSI implementation the Environmental Conditions like Rain, Fog, etc. are defined by
enumeration....
So for example the definition for precipation is like:
enum Precipitation
{
// Intensity of precipitation is unknown (must not be used in ground
// truth).
//
PRECIPITATION_UNKNOWN = 0;
// Other (unspecified but known) intensity of precipitation.
//
PRECIPITATION_OTHER = 1;
// No precipitation, when I in [0,0.1[ [mm/h]
//
PRECIPITATION_NONE = 2;
// Very light intensity of precipitation, when I in [0.1,0.5[ [mm/h]
//
PRECIPITATION_VERY_LIGHT = 3;
// Light intensity of precipitation, when I in [0.5,1.9[ [mm/h]
//
PRECIPITATION_LIGHT = 4;
// Moderate intensity of precipitation, when I in [1.9,8.1[ [mm/h]
//
PRECIPITATION_MODERATE = 5;
// Heavy intensity of precipitation, when I in [8.1,34[ [mm/h]
//
PRECIPITATION_HEAVY = 6;
// Very heavy intensity of precipitation, when I in [34,149[ [mm/h]
//
PRECIPITATION_VERY_HEAVY = 7;
// Extreme intensity of precipitation, when I in [149,infinity[ [mm/h]
//
PRECIPITATION_EXTREME = 8;
}
From my point of view this is not a good approach..
Lets say I want to build a Sensor Model reacting to different Precipitation levels in
this case it would be much easier to define a single continous variable i.e. in [ 0, 1].
As a result the model will have a continous shift in its detection state/range.
It would be nice to get your opinion on this,
BR Jonas Ruebsam