Documentation of 'boofcv.factory.weights.FactoryWeights' Java class
FactoryWeights
boofcv.factory.weights

Class FactoryWeights



  • public class FactoryWeights
    extends java.lang.Object
    Factory for creating sample weight functions of different types.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FactoryWeights() 
    • Constructor Detail

      • FactoryWeights

        public FactoryWeights()
    • Method Detail

      • distance

        public static WeightDistance_F32 distance(WeightType type,
                                                  float param,
                                                  boolean safe)
        Creates a weight function for the provided distributions.
        Parameters:
        type - Which type of distribution should be used
        param - Distribution parameters. For uniform this is the maximum distance. Guassian its the standard deviation.
        safe - If true it will then check the input distance to see if it matches.
        Returns:
        WeightDistance_F32
      • pixel

        public static WeightPixel_F32 pixel(WeightType type,
                                            boolean safe)
        Creates a weight function for the provided distributions.
        Parameters:
        type - Which type of distribution should be used
        safe - If true it will then check the input distance to see if it matches.
        Returns:
        WeightDistance_F32

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.