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

BboxUtil

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

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

    Note that the output are stored in input deltas

    Note that the output are stored in input deltas

    boxes

    (N, 4)

    deltas

    (N, 4a)

    returns

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

    scoresNms

    N

    bboxNms

    N * 4

    scoresAll

    M

    bboxAll

    M * 4

    returns

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

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

    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)

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. 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]]]

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

  14. def decodeRois(output: Tensor[Float]): Tensor[Float]

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

  16. final def eq(arg0: AnyRef): Boolean

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

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

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

    get the areas of boxes

    get the areas of boxes

    boxes

    N * 4 tensor

    areas

    buffer to store the results

    returns

    areas array

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

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

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

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

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

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

  26. def hashCode(): Int

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

    Definition Classes
    Any
  28. val logger: Logger

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped