Class AbstractNegativeRegionsGenerator

    • Field Detail

      • m_Stopped

        protected boolean m_Stopped
        whether the generator was stopped.
    • Constructor Detail

      • AbstractNegativeRegionsGenerator

        public AbstractNegativeRegionsGenerator()
    • Method Detail

      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Default implementation just returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • check

        protected String check​(AbstractImageContainer cont)
        Hook methods for checks before processing.
        Parameters:
        cont - the image container to check
        Returns:
        null if successful, otherwise error message
      • doGenerateRegions

        protected abstract LocatedObjects doGenerateRegions​(AbstractImageContainer cont)
        Generates the negative regions.
        Parameters:
        cont - the image container to generate the regions for
        Returns:
        the generated regions
      • generateRegions

        public LocatedObjects generateRegions​(AbstractImageContainer cont)
        Generates the negative regions.
        Parameters:
        cont - the image container to generate the regions for
        Returns:
        the generated regions
      • stopExecution

        public void stopExecution()
        Stops the execution.
        Specified by:
        stopExecution in interface Stoppable
      • isStopped

        public boolean isStopped()
        Whether the execution has been stopped.
        Specified by:
        isStopped in interface StoppableWithFeedback
        Returns:
        true if stopped