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

Class ConvertDescriptors



  • public class ConvertDescriptors
    extends java.lang.Object
    Converts between different types of descriptions
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void convertNcc(TupleDesc_F64 input, NccFeature output)
      Converts a regular feature description into a NCC feature description
      static void positive(TupleDesc_F64 input, TupleDesc_U8 output)
      Converts a floating point description with all positive values into the 8-bit integer descriptor by dividing each element in the input by the element maximum value and multiplying by 255.
      static void real(TupleDesc_F64 input, TupleDesc_S8 output)
      Converts a floating point description with real values into the 8-bit integer descriptor by dividing each element in the input by the element maximum absolute value and multiplying by 127.
      • Methods inherited from class java.lang.Object

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

      • ConvertDescriptors

        public ConvertDescriptors()
    • Method Detail

      • positive

        public static void positive(TupleDesc_F64 input,
                                    TupleDesc_U8 output)
        Converts a floating point description with all positive values into the 8-bit integer descriptor by dividing each element in the input by the element maximum value and multiplying by 255.
        Parameters:
        input - Description with elements that are all positive
        output - Unsigned 8-bit output
      • real

        public static void real(TupleDesc_F64 input,
                                TupleDesc_S8 output)
        Converts a floating point description with real values into the 8-bit integer descriptor by dividing each element in the input by the element maximum absolute value and multiplying by 127.
        Parameters:
        input - Description with elements that are all positive
        output - Unsigned 8-bit output
      • convertNcc

        public static void convertNcc(TupleDesc_F64 input,
                                      NccFeature output)
        Converts a regular feature description into a NCC feature description
        Parameters:
        input - Tuple descriptor. (not modified)
        output - The equivalent NCC feature. (modified)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.