Class AbstractCurrentImageFilter

    • Field Detail

      • m_FilterError

        protected String m_FilterError
        for storing filtering errors.
    • Constructor Detail

      • AbstractCurrentImageFilter

        public AbstractCurrentImageFilter()
    • Method Detail

      • canExecute

        public boolean canExecute​(ImagePanel panel)
        Checks whether the plugin can be executed given the specified image panel.

        Panel must be non-null and must contain an image.
        Specified by:
        canExecute in class AbstractToolPlugin<ImagePanel>
        Parameters:
        panel - the panel to use as basis for decision
        Returns:
        true if plugin can be executed
      • filter

        protected abstract BufferedImage filter​(BufferedImage image)
        Filters the image.
        Parameters:
        image - the image to filter
        Returns:
        the processed image