Class ScalarPreference

    • Constructor Summary

      Constructors 
      Constructor Description
      ScalarPreference​(java.lang.String name, java.lang.String components, double... defaults)
      Construct a scalar preference with the given name and components.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opencv.core.Scalar get()
      Get the current value of the preference.
      • Methods inherited from class java.lang.Object

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

      • ScalarPreference

        public ScalarPreference​(java.lang.String name,
                                java.lang.String components,
                                double... defaults)
        Construct a scalar preference with the given name and components.
        Parameters:
        name - The name of the preferences object.
        components - A sequence of letters indicating the components. For example, "RGB", "HSV", "XYZ", etc. It may be any length.
        defaults - Default settings for components
    • Method Detail

      • get

        public org.opencv.core.Scalar get()
        Get the current value of the preference.
        Returns:
        The current value of the preference.