Class AbstractDenoiser.DenoiserJob<T extends DataContainer>

    • Field Detail

      • m_Data

        protected T extends DataContainer m_Data
        the data to push through the denoiser.
      • m_DenoisedData

        protected T extends DataContainer m_DenoisedData
        the denoised data.
    • Constructor Detail

      • DenoiserJob

        public DenoiserJob​(AbstractDenoiser denoiser,
                           T data)
        Initializes the job.
        Parameters:
        denoiser - the denoiser to use for denoising
        data - the data to pass through the denoiser
    • Method Detail

      • getDenoiser

        public AbstractDenoiser getDenoiser()
        Returns the denoiser being used.
        Returns:
        the denoiser in use
      • getData

        public T getData()
        The input data.
        Returns:
        the input data
      • getDenoisedData

        public T getDenoisedData()
        The output data, if any.
        Returns:
        the output data, or null in case of an error
      • preProcessCheck

        protected String preProcessCheck()
        Checks whether all pre-conditions have been met.
        Specified by:
        preProcessCheck in class AbstractJob
        Returns:
        null if everything is OK, otherwise an error message
      • getAdditionalErrorInformation

        protected String getAdditionalErrorInformation()
        Returns additional information to be added to the error message.
        Overrides:
        getAdditionalErrorInformation in class AbstractJob
        Returns:
        the additional information
      • process

        protected void process()
                        throws Exception
        Does the actual execution of the job.
        Specified by:
        process in class AbstractJob
        Throws:
        Exception - if fails to execute job
      • postProcessCheck

        protected String postProcessCheck()
        Checks whether all post-conditions have been met.
        Specified by:
        postProcessCheck in class AbstractJob
        Returns:
        null if everything is OK, otherwise an error message
      • toString

        public String toString()
        Returns a string representation of the job.
        Specified by:
        toString in class AbstractJob
        Returns:
        a string representation