Enum ThresholdType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ThresholdType>

    public enum ThresholdType
    extends java.lang.Enum<ThresholdType>
    Enum for all the types of thresholding provided in BoofCV
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BLOCK_MEAN
      Breaks the image into blocks and computes the mean inside each block.
      BLOCK_MIN_MAX
      Breaks the image into blocks and computes the min and max inside each block.
      BLOCK_OTSU
      Breaks the image into blocks and computes the an Otsu threshold in each block
      FIXED
      Fixed threshold
      GLOBAL_ENTROPY
      Globally adaptive set using entropy equation
      GLOBAL_HUANG
      Global Adaptive using Huang's equation.
      GLOBAL_LI
      Global Adaptive using Li's equation.
      GLOBAL_OTSU
      Globally adaptive set using Otsu's equation
      LOCAL_GAUSSIAN
      Locally adaptive computed using Guassian weights
      LOCAL_MEAN
      Locally adaptive using an average
      LOCAL_NICK
      Locally adaptive computed using NICK method
      LOCAL_OTSU
      Applies a local Otsu across the entire image
      LOCAL_SAVOLA
      Locally adaptive computed using Savola's method
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAdaptive()  
      boolean isGlobal()  
      static ThresholdType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ThresholdType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait