Class ConfigFh04

java.lang.Object
boofcv.factory.segmentation.ConfigFh04
All Implemented Interfaces:
Configuration, Serializable

public class ConfigFh04
extends Object
implements Configuration
See Also:
Serialized Form
  • Field Details

    • K

      public float K
      Tuning parameter. Larger regions are preferred for larger values of K. Try 100
    • minimumRegionSize

      public int minimumRegionSize
      Minimum allowed size of a region.
    • connectRule

      public ConnectRule connectRule
      Connection rule used to connect regions. ConnectRule.EIGHT was using in the original paper.
    • approximateSortBins

      public int approximateSortBins
      If set to a value larger than 0 then an approximate sorting routine will be used. This improves speed by about 40%. A value of 2000 is recommended.
  • Constructor Details

    • ConfigFh04

      public ConfigFh04()
    • ConfigFh04

      public ConfigFh04​(float k, int minimumRegionSize)
    • ConfigFh04

      public ConfigFh04​(int k, int minimumRegionSize, ConnectRule connectRule)
    • ConfigFh04

      public ConfigFh04​(float k, int minimumRegionSize, ConnectRule connectRule, int approximateSortBins)
  • Method Details

    • setTo

      public ConfigFh04 setTo​(ConfigFh04 src)
    • checkValidity

      public void checkValidity()
      Description copied from interface: Configuration
      Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.
      Specified by:
      checkValidity in interface Configuration