Object

com.intel.analytics.bigdl.transform.vision.image.util

BboxUtil

Related Doc: package util

Permalink

object BboxUtil

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BboxUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bboxTransformInv(boxes: Tensor[Float], deltas: Tensor[Float], normalized: Boolean = false): Tensor[Float]

    Permalink

    Note that the output are stored in input deltas

    Note that the output are stored in input deltas

    boxes

    (N, 4)

    deltas

    (N, 4a)

  6. def bboxVote(scoresNms: Tensor[Float], bboxNms: Tensor[Float], scoresAll: Tensor[Float], bboxAll: Tensor[Float], areasBuf: Tensor[Float] = null): RoiLabel

    Permalink

    scoresNms

    N

    bboxNms

    N * 4

    scoresAll

    M

    bboxAll

    M * 4

  7. def clipBoxes(bboxes: Tensor[Float]): Tensor[Float]

    Permalink
  8. def clipBoxes(boxes: Tensor[Float], height: Float, width: Float, minH: Float = 0, minW: Float = 0, scores: Tensor[Float] = null): Int

    Permalink

    Clip boxes to image boundaries.

    Clip boxes to image boundaries. set the score of all boxes with any side smaller than minSize to 0

    boxes

    N * 4a

    height

    height of image

    width

    width of image

    minH

    min height limit

    minW

    min width limit

    scores

    scores for boxes

    returns

    the number of boxes kept (score > 0)

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def decodeBboxesAll(allLocPreds: Array[Array[Tensor[Float]]], priorBoxes: Tensor[Float], priorVariances: Tensor[Float], nClasses: Int, bgLabel: Int, clipBoxes: Boolean, varianceEncodedInTarget: Boolean, shareLocation: Boolean, output: Array[Array[Tensor[Float]]] = null): Array[Array[Tensor[Float]]]

    Permalink
  11. def decodeBoxes(priorBoxes: Tensor[Float], priorVariances: Tensor[Float], isClipBoxes: Boolean, bboxes: Tensor[Float], varianceEncodedInTarget: Boolean, output: Tensor[Float] = null): Tensor[Float]

    Permalink
  12. def decodeRois(output: Tensor[Float]): Tensor[Float]

    Permalink
  13. def decodeWithWeight(encodeBox: Tensor[Float], bbox: Tensor[Float], weight: Array[Float], decodeBox: Tensor[Float]): Unit

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getAreas(boxes: Tensor[Float], areas: Tensor[Float], startInd: Int = 1, normalized: Boolean = false): Tensor[Float]

    Permalink

    get the areas of boxes

    get the areas of boxes

    boxes

    N * 4 tensor

    areas

    buffer to store the results

    returns

    areas array

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getConfidenceScores(conf: Tensor[Float], numPredsPerClass: Int, numClasses: Int, confBuf: Array[Array[Tensor[Float]]] = null): Array[Array[Tensor[Float]]]

    Permalink
  20. def getGroundTruthIndices(result: Tensor[Float]): Map[Int, (Int, Int)]

    Permalink
  21. def getGroundTruths(result: Tensor[Float]): Map[Int, Tensor[Float]]

    Permalink
  22. def getLocPredictions(loc: Tensor[Float], numPredsPerClass: Int, numClasses: Int, shareLocation: Boolean, locPredsBuf: Array[Array[Tensor[Float]]] = null): Array[Array[Tensor[Float]]]

    Permalink
  23. def getPriorBboxes(prior: Tensor[Float], nPriors: Int): (Tensor[Float], Tensor[Float])

    Permalink
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. val logger: Logger

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def scaleBBox(bboxes: Tensor[Float], height: Float, width: Float): Unit

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped