Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package nvidia
    Definition Classes
    com
  • package mdx

    this is the base transform for mdx analytics SDK, the transform comprise of

    this is the base transform for mdx analytics SDK, the transform comprise of


    core : mdx streaming core classes
    xapp : comprise of sample applications

    Definition Classes
    nvidia
  • package core

    this is the core transform for mdx SDK, contains transform and classes for the core mdx functionality

    this is the core transform for mdx SDK, contains transform and classes for the core mdx functionality

    Definition Classes
    mdx
  • package transform

    transform used for any message transformation, image coordinates to real world coordinates

    transform used for any message transformation, image coordinates to real world coordinates

    Definition Classes
    core
  • package json
    Definition Classes
    transform
  • jCalibration
  • jCalibrationBase
  • jCalibrationE
  • jCalibrationI
c

com.nvidia.mdx.core.transform.json

jCalibrationBase

abstract class jCalibrationBase extends Serializable

base class, reads the calibration information from the JSON config file, and instantiate the transform matrix, ROI etc per sensor

this is extended by jCalibration and jCalibrationE

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jCalibrationBase
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new jCalibrationBase()

Abstract Value Members

  1. abstract def pointInPolygon(loc: jCoordinate, sensorId: String, configbc: Map[String, String]): Boolean

    checks if the given Coordinate falls within the ROI for the given intersection

  2. abstract def pointInPolygon(loc: jLocation, sensorId: String, configbc: Map[String, String]): Boolean

    checks if the given Location falls within the ROI for the given intersection

  3. abstract def reProjectionError(imageP: Point, expected: Point, hMatrix: Mat): Double

    re projection error with respect to given sensor calibration usefull metric if the camera calibration is done reasonably well

  4. abstract def tranformBbox(bbox: jBbox, sensorId: String): (jCoordinate, jLocation)

    Transform image coordinates bbox to latitude-longitude based on Homography Matrix for a given sensor-id
    Also transform lat-lon to Global coordinates (cartesian) , with respect to a given origin
    The transform matrix and the origin and initialized from a external configuration
    returns Global coordinates and lat-lon

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val appConfig: Config
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val cameras: Array[Sensor]

    array of sensors/sensors, read from the configuration file

    array of sensors/sensors, read from the configuration file

    Annotations
    @transient()
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. var config: Map[String, String]

    for performance reason, while running in spark, singleton Calibration is used in a given executor

    for performance reason, while running in spark, singleton Calibration is used in a given executor

    while running outside of spark the below config needs to be set before running any operations

  9. def contains(sensorId: String, c: Map[String, String] = Map.empty): Boolean

    checks if cameraSet contains the given sensor

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def euclideanDistance(p1: Point, p2: Point): Double

    function to compute euclidean distance between two points

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def haversineDistance(p1: jLocation, p2: jLocation): Double

    function to compute great circle distance between two points(lat, lon)

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. lazy val sensorMap: Map[String, Sensor]

    lookup table/map for id -> Sensor

    lookup table/map for id -> Sensor

    Annotations
    @transient()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def transform(msg: jMessage, configuration: Map[String, String] = Map.empty): jMessage

    transform image coordinates to real world coordinates Also updates the location/place based on configuration

  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped