Class NormalizedMoment

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Serializable

    public class NormalizedMoment
    extends AbstractBufferedImageMoment
    The normalized moment.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -background-value <java.awt.Color> (property: backgroundValue)
        The background color to use.
        default: #ffffff
     
    -p <int> (property: P)
        The exponent for x.
        default: 0
     
    -q <int> (property: Q)
        The exponent for y.
        default: 0
     
    Version:
    $Revision$
    Author:
    sjb90
    See Also:
    Serialized Form
    • Field Detail

      • m_P

        protected int m_P
        exponent for x.
      • m_Q

        protected int m_Q
        exponent for y.
    • Constructor Detail

      • NormalizedMoment

        public NormalizedMoment()
    • Method Detail

      • setP

        public void setP​(int value)
        Sets the exponent for x.
        Parameters:
        value - the exponent
      • getP

        public int getP()
        Returns the exponent for x.
        Returns:
        the exponent
      • PTipText

        public String PTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setQ

        public void setQ​(int value)
        Sets the exponent for y.
        Parameters:
        value - the exponent
      • getQ

        public int getQ()
        Returns the exponent for y.
        Returns:
        the exponent
      • QTipText

        public String QTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.