Documentation of 'boofcv.alg.weights.WeightDistanceSqGaussian_F32' Java class
WeightDistanceSqGaussian_F32
boofcv.alg.weights

Class WeightDistanceSqGaussian_F32

  • All Implemented Interfaces:
    WeightDistance_F32


    public class WeightDistanceSqGaussian_F32
    extends java.lang.Object
    implements WeightDistance_F32
    The distribution is a cropped Gaussian distribution with mean at 0. Note that this matches the shape of the distribution but is not correctly normalized. Input is assumed to be the distance squared. Does not check to see if distance is less than zero
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      float weight(float distanceSq)
      Returns the weight given a distance
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WeightDistanceSqGaussian_F32

        public WeightDistanceSqGaussian_F32(float sigma)
    • Method Detail

      • weight

        public float weight(float distanceSq)
        Description copied from interface: WeightDistance_F32
        Returns the weight given a distance
        Specified by:
        weight in interface WeightDistance_F32
        Parameters:
        distanceSq - Distance a sample is
        Returns:
        the weight

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.