Class SideBySide.SideBySidePanel

    • Field Detail

      • m_SplitPane

        protected BaseSplitPane m_SplitPane
        the split pane.
      • m_PanelImageAnnotations

        protected ImagePanel m_PanelImageAnnotations
        the image panel with the annotations.
      • m_PanelImagePredictions

        protected ImagePanel m_PanelImagePredictions
        the image panel with the predictions.
      • m_AnnotationsReport

        protected Report m_AnnotationsReport
        the annotations report.
      • m_AnnotationsLocatedObjects

        protected LocatedObjects m_AnnotationsLocatedObjects
        the located objects / annotations.
      • m_AnnotationsLabelSuffix

        protected String m_AnnotationsLabelSuffix
        the annotations label suffix.
      • m_PredictionsReport

        protected Report m_PredictionsReport
        the predictions report.
      • m_PredictionsLocatedObjects

        protected LocatedObjects m_PredictionsLocatedObjects
        the located objects / predictions.
      • m_PredictionsLabelSuffix

        protected String m_PredictionsLabelSuffix
        the predictions label suffix.
      • m_Zoom

        protected double m_Zoom
        the zoom level.
    • Constructor Detail

      • SideBySidePanel

        public SideBySidePanel()
    • Method Detail

      • setZoom

        public void setZoom​(double value)
        Sets the zoom level in percent (0-1600).
        value - the zoom, -1 to fit window, or 0-1600
      • setAnnotationsOverlay

        public void setAnnotationsOverlay​(ImageOverlay value)
        Sets the overlay to use for the annotations.
        value - the overlay
      • setAnnotationsLabelSuffix

        public void setAnnotationsLabelSuffix​(String value)
        Sets the report suffix that the annotations use for storing the label.
        value - the suffix
      • setPredictionsOverlay

        public void setPredictionsOverlay​(ImageOverlay value)
        Sets the overlay to use for the predictions.
        value - the overlay
      • setPredictionsLabelSuffix

        public void setPredictionsLabelSuffix​(String value)
        Sets the report suffix that the predictions use for storing the label.
        value - the suffix
      • filterObjects

        protected void filterObjects​(String label)
        Filters the objects using the specified label and updates the GUI.
        Specified by:
        filterObjects in class AbstractComparisonPanel
        label - the label to restrict display to, empty/null for all
      • display

        public void display​(AbstractImageContainer cont,
                            List<String> labels,
                            Report repAnn,
                            LocatedObjects objAnn,
                            Report repPred,
                            LocatedObjects objPred)
        Displays the new image.
        Specified by:
        display in class AbstractComparisonPanel
        cont - the image to display
        labels - the object labels
        repAnn - the report with the annotations (ground truth)
        objAnn - the object locations (ground truth from report)
        repPred - the report with the predictions
        objPred - the object locations (predictions)