Interface PositionEvaluator<I,​P>

    • Method Detail

      • calibrate

        void calibrate​(ImageWrapper<I> imageForCalibration)
        Method for calibrating the PositionEvaluator
        Parameters:
        imageForCalibration - Image used for calibration
      • getPosition

        Point2Wrapper<P> getPosition​(ImageWrapper<I> image)
        Method for evaluating e.g. the position of an object in the image
        Parameters:
        image - Image where Object should be found.
        Returns:
        Position of the Object in the image (Position -1/-1 -> no position found)
      • getOffset

        TranslationOffsetInMM getOffset​(ImageWrapper<I> ref,
                                        ImageWrapper<I> current)
        Method for evaluating the offset of an object between two images
        Parameters:
        ref - The reference image containing the object
        current - The current image containing the object
        Returns:
        The offset between the object´s position in ref and the object´s position in current