Class Vips


  • public class Vips
    extends Object
    The VIPS algorithm implementation.
    Author:
    Tomas Popela, burgetr
    • Constructor Detail

      • Vips

        public Vips()
        Default constructor
    • Method Detail

      • enableGraphicsOutput

        public void enableGraphicsOutput​(boolean enable)
        Enables or disables graphics output of VIPS algorithm.
        Parameters:
        enable - True for enable, otherwise false.
      • enableOutputToFolder

        public void enableOutputToFolder​(boolean enable)
        Enables or disables creation of new directory for every algorithm run.
        Parameters:
        enable - True for enable, otherwise false.
      • setPredefinedDoC

        public void setPredefinedDoC​(int value)
        Sets permitted degree of coherence (pDoC) value.
        Parameters:
        value - pDoC value (1 .. 11)
      • setPage

        public void setPage​(Page page)
        Sets the page to process
        Parameters:
        page - the new page
      • getVisualStructure

        public VisualArea getVisualStructure()
      • startSegmentation

        public void startSegmentation​(Page page)
        Starts segmentation of a page.
        Parameters:
        page - The page to perform segmentation on.
      • startSegmentation

        public void startSegmentation()
        Starts visual segmentation of the current page.