Documentation of 'boofcv.alg.descriptor.UtilFeature' Java class
UtilFeature
boofcv.alg.descriptor

Class UtilFeature



  • public class UtilFeature
    extends java.lang.Object
    Various utilities related to image features
    • Constructor Detail

      • UtilFeature

        public UtilFeature()
    • Method Detail

      • createQueue

        public static <TD extends TupleDescFastQueue<TD> createQueue(DescribeRegionPoint<?,TD> detDesc,
                                                                       int initialMax)
        Creates a FastQueue and declares new instances of the descriptor using the provided DetectDescribePoint. The queue will have declareInstance set to true, otherwise why would you be using this function?
      • createQueue

        public static <TD extends TupleDescFastQueue<TD> createQueue(DetectDescribePoint<?,TD> detDesc,
                                                                       int initialMax)
        Creates a FastQueue and declares new instances of the descriptor using the provided DetectDescribePoint. The queue will have declareInstance set to true, otherwise why would you be using this function?
      • createQueue

        public static <TD extends TupleDescFastQueue<TD> createQueue(DetectDescribeMulti<?,TD> detDesc,
                                                                       int initialMax)
        Creates a FastQueue and declares new instances of the descriptor using the provided DetectDescribePoint. The queue will have declareInstance set to true, otherwise why would you be using this function?
      • combine

        public static TupleDesc_F64 combine(java.util.List<TupleDesc_F64> inputs,
                                            TupleDesc_F64 combined)
        Concats the list of tuples together into one big feature. The combined feature must be large enough to store all the inputs.
        Parameters:
        inputs - List of tuples.
        combined - Storage for combined output. If null a new instance will be declared.
        Returns:
        Resulting combined.
      • normalizeL2

        public static void normalizeL2(TupleDesc_F64 desc)

        Normalized the tuple such that the L2-norm is equal to 1. This is also often referred to as the Euclidean or frobenius (all though that's a matrix norm).

        value[i] = value[i]/sqrt(sum(value[j]*value[j], for all j))

        Parameters:
        desc - tuple
      • normalizeSumOne

        public static void normalizeSumOne(TupleDesc_F64 desc)

        Normalized the tuple such that it's sum is equal to 1.

        value[i] = value[i]/sqrt(sum(value[j], for all j))

        Parameters:
        desc - tuple

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.