Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ConfigAssociateGreedy

[263:7] extends: object

ConfigAssociateGreedy wraps boofcv.factory.feature.associate.ConfigAssociateGreedy.

Members

  • obj

Methods

  • ConfigAssociateGreedy (Obj = null)

    Creates or wraps a greedy association config.

    • @p Obj is an existing config Java object or null to create a default config.
  • get (string Name)

    Gets a public config field.

    • @p Name is forwardsBackwards, scoreRatioThreshold, or maxErrorThreshold.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is forwardsBackwards, scoreRatioThreshold, or maxErrorThreshold.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: AssociateDescription

[132:7] extends: object

AssociateDescription wraps boofcv.abst.feature.associate.AssociateDescription.

Members

  • obj

Methods

  • AssociateDescription (object Obj)

    Wraps a BoofCV AssociateDescription.

    • @p Obj is an existing associate Java object or wrapper.
  • setSource (object List)

    Sets source descriptors.

    • @p List is a FastAccess descriptor list.
  • setDestination (object List)

    Sets destination descriptors.

    • @p List is a FastAccess descriptor list.
  • associate ()

    Runs association.

  • getMatches ()

    Gets matches.

    • @r A FastAccess of AssociatedIndex objects.
  • getUnassociatedSource ()

    Gets unassociated source indexes.

    • @r A DogArray_I32 Java object.
  • getUnassociatedDestination ()

    Gets unassociated destination indexes.

    • @r A DogArray_I32 Java object.
  • setMaxScoreThreshold (Score)

    Sets the maximum score threshold.

    • @p Score is the maximum accepted score.
  • getScoreType ()

    Gets the score type.

    • @r A MatchScoreType enum Java object.
  • uniqueSource ()

    Gets whether source descriptors are unique in matches.

    • @r True if unique.
  • uniqueDestination ()

    Gets whether destination descriptors are unique in matches.

    • @r True if unique.
  • getDescriptionType ()

    Gets the descriptor type.

    • @r A Java Class object.

class: ConfigAssociate

[227:7] extends: object

ConfigAssociate wraps boofcv.factory.feature.associate.ConfigAssociate.

Members

  • obj

Methods

  • ConfigAssociate (Obj = null)

    Creates or wraps an association config.

    • @p Obj is an existing config Java object or null to create a default config.
  • get (string Name)

    Gets a public config field.

    • @p Name is type, greedy, nearestNeighbor, or maximumDistancePixels.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is type, greedy, nearestNeighbor, or maximumDistancePixels.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

  • copy ()

    Copies this config.

    • @r A copied ConfigAssociate wrapper.

class: ScoreAssociation

[198:7] extends: object

ScoreAssociation wraps boofcv.abst.feature.associate.ScoreAssociation.

Members

  • obj

Methods

  • ScoreAssociation (object Obj)

    Wraps a BoofCV ScoreAssociation.

    • @p Obj is an existing score Java object or wrapper.
  • score (object Source, object Destination)

    Scores two descriptors.

    • @p Source is a descriptor Java object.
    • @p Destination is a descriptor Java object.
    • @r The score.
  • getScoreType ()

    Gets the score type.

    • @r A MatchScoreType enum Java object.
  • getDescriptorType ()

    Gets the descriptor type.

    • @r A Java Class object.

class: ConfigAssociateNearestNeighbor

[294:7] extends: object

ConfigAssociateNearestNeighbor wraps boofcv.factory.feature.associate.ConfigAssociateNearestNeighbor.

Members

  • obj

Methods

  • ConfigAssociateNearestNeighbor (Obj = null)

    Creates or wraps a nearest-neighbor association config.

    • @p Obj is an existing config Java object or null to create a default config.
  • get (string Name)

    Gets a public config field.

    • @p Name is distanceIsSquared, scoreRatioThreshold, maxErrorThreshold, or maxNodesSearched.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is distanceIsSquared, scoreRatioThreshold, maxErrorThreshold, or maxNodesSearched.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: FactoryAssociation

[6:14] static extends: object

Static wrappers for boofcv.factory.feature.associate.FactoryAssociation.

Methods

  • generic (object Config, object DescriptorInfo)

    Creates a generic association algorithm.

    • @p Config is a ConfigAssociate wrapper.
    • @p DescriptorInfo is a descriptor info Java object or wrapper.
    • @r An AssociateDescription wrapper.
  • ensureUnique (object Associate)

    Ensures a one-to-one association from an existing association algorithm.

    • @p Associate is an AssociateDescription wrapper.
    • @r An AssociateDescription wrapper.
  • greedy (object Config, object Score)

    Creates a greedy association algorithm.

    • @p Config is a ConfigAssociateGreedy wrapper.
    • @p Score is a ScoreAssociation wrapper.
    • @r An AssociateDescription wrapper.
  • kdtree (object Config, int TupleLength)

    Creates a KD-tree association algorithm for TupleDesc_F64 descriptors.

    • @p Config is a ConfigAssociateNearestNeighbor wrapper.
    • @p TupleLength is the descriptor tuple length.
    • @r An AssociateDescription wrapper.
  • kdRandomForest (object Config, int TupleLength, int MaxNodesSearched, int NumTrees, int Seed)

    Creates a random-forest KD-tree association algorithm for TupleDesc_F64 descriptors.

    • @p Config is a ConfigAssociateNearestNeighbor wrapper.
    • @p TupleLength is the descriptor tuple length.
    • @p MaxNodesSearched is the maximum searched nodes.
    • @p NumTrees is the number of trees.
    • @p Seed is the random seed.
    • @r An AssociateDescription wrapper.
  • defaultScore (string DescriptorClassName)

    Creates BoofCV's default score for a descriptor class.

    • @p DescriptorClassName is a descriptor class name such as boofcv.struct.feature.TupleDesc_F64, boofcv.struct.feature.TupleDesc_B, or boofcv.struct.feature.NccFeature.
    • @r A ScoreAssociation wrapper.
  • scoreSad (string DescriptorClassName)

    Creates a sum-of-absolute-difference score for a descriptor class.

    • @p DescriptorClassName is a descriptor class name such as boofcv.struct.feature.TupleDesc_F64.
    • @r A ScoreAssociation wrapper.
  • scoreNcc ()

    Creates an NCC score.

    • @r A ScoreAssociation wrapper for NccFeature descriptors.
  • scoreEuclidean (string DescriptorClassName, bool Normalize)

    Creates a Euclidean score for a descriptor class.

    • @p DescriptorClassName is a descriptor class name such as boofcv.struct.feature.TupleDesc_F64.
    • @p Normalize true normalizes the score.
    • @r A ScoreAssociation wrapper.
  • scoreHamming (string DescriptorClassName)

    Creates a Hamming score for a descriptor class.

    • @p DescriptorClassName is a descriptor class name such as boofcv.struct.feature.TupleDesc_B.
    • @r A ScoreAssociation wrapper.