Documentation of 'boofcv.alg.geo.robust.GenerateAffine2D' Java class
GenerateAffine2D
boofcv.alg.geo.robust

Class GenerateAffine2D

    • Constructor Detail

      • GenerateAffine2D

        public GenerateAffine2D()
    • Method Detail

      • fitModel

        public boolean fitModel(java.util.List<AssociatedPair> dataSet,
                                Affine2D_F64 initial,
                                Affine2D_F64 found)
        Description copied from interface: ModelFitter
        Fits a model to a set of points. Note that initial and found can be the same instance.
        Specified by:
        fitModel in interface ModelFitter<Affine2D_F64,AssociatedPair>
        Parameters:
        dataSet - Set of points the model is being fit to.
        initial - Initial hypothesis
        found - The found model. Can be the same instance as initial.
        Returns:
        true if a model was found and false if one was not.
      • generate

        public boolean generate(java.util.List<AssociatedPair> dataSet,
                                Affine2D_F64 model)
        Description copied from interface: ModelGenerator
        Creates a list of hypotheses from the set of sample points.
        Specified by:
        generate in interface ModelGenerator<Affine2D_F64,AssociatedPair>
        Parameters:
        dataSet - Set of sample points. Typically the minimum number possible.
        model - Storage for generated model.
        Returns:
        true if a model was generated, otherwise false is none were

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.