Class HistogramProducer

  • All Implemented Interfaces:
    ISTHistogramProducer

    public class HistogramProducer
    extends Object
    implements ISTHistogramProducer
    HistogramProducer produces a 15 bin histogram for a passed in object detection for each of the passed in image parameter/wavelength pairs. From Kempton et. al. 2015.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Constructor Detail

      • HistogramProducer

        public HistogramProducer​(ISTImageDBConnection imageDB)
        Constructor that takes in a connection to the image database.
        Parameters:
        imageDB - The image database connection used to pull the image data from the database.
    • Method Detail

      • getHist

        public int[][] getHist​(ISpatialTemporalObj event,
                               ImageDBWaveParamPair[] dims,
                               boolean left)
        Description copied from interface: ISTHistogramProducer
        Computes the histogram of the passed in IEvent using the requested dimensions of the underlying data souce.
        Specified by:
        getHist in interface ISTHistogramProducer
        Parameters:
        event - The event to extract a histogram of.
        dims - The dimensions to use of the underlying data source.
        left - Indicates if the event is on the left side of a gap in detections. If true the histogram is extracted from the frame at the end of the event's valid time. Otherwise it is extracted from the frame at the beginning of the passed in event's valid time.
        Returns:
        The histogram that represents the passed in event.