Class OpenCVRegistrationPositional

  • All Implemented Interfaces:
    Registration<org.opencv.core.Mat>

    public class OpenCVRegistrationPositional
    extends Object
    implements Registration<org.opencv.core.Mat>

    This class performs registration for positional offset with openCV support. It does not uses opencv Image registration, because due to this post (http://answers.opencv.org/question/29436/image-registration-using-opencv-java/) it is currently not supported in the java wrapper

    Since:
    1.0
    Author:
    Andreas Pointner
    • Constructor Detail

      • OpenCVRegistrationPositional

        public OpenCVRegistrationPositional()
    • Method Detail

      • register

        public Collection<ImageWrapper<org.opencv.core.Mat>> register​(ImageWrapper<org.opencv.core.Mat> ref,
                                                                      Collection<ImageWrapper<org.opencv.core.Mat>> elements)
        This function applies image registration on given elements. Therefore it compares it to a ref object, and tries to translate the object in horizontal and vertical direction to fit the ref image.
        Specified by:
        register in interface Registration<org.opencv.core.Mat>
        Parameters:
        ref - the ref image, where the elements should fit to
        elements - the elements, which should to fit the given ref
        Returns:
        the result elements fitting to the ref image