Class AbstractCustomPNGAnnotationImageSegmentationReader

    • Field Detail

      • m_Reader

        protected ImageReader m_Reader
        the image reader for the PNG.
    • Constructor Detail

      • AbstractCustomPNGAnnotationImageSegmentationReader

        public AbstractCustomPNGAnnotationImageSegmentationReader()
    • Method Detail

      • getDefaultReader

        protected ImageReader getDefaultReader()
        Returns the default image reader.
        Returns:
        the default
      • setReader

        public void setReader​(ImageReader value)
        Sets the image reader to use.
        Parameters:
        value - the image reader
      • getReader

        public ImageReader getReader()
        Returns the imag reader to use.
        Returns:
        the image reader
      • readerTipText

        public String readerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • readPNG

        protected BufferedImage readPNG​(PlaceholderFile file)
        Reads the PNG file associated with the specified JPG file.
        Parameters:
        file - the JPG file to load the PNG file for
        Returns:
        the image