Class SparseMatchInterpolator

  • Direct Known Subclasses:
    EdgeAwareInterpolator, RICInterpolator

    public class SparseMatchInterpolator
    extends Algorithm
    Main interface for all filters, that take sparse matches as an input and produce a dense per-pixel matching (optical flow) as an output.
    • Constructor Detail

      • SparseMatchInterpolator

        protected SparseMatchInterpolator​(long addr)
    • Method Detail

      • interpolate

        public void interpolate​(Mat from_image,
                                Mat from_points,
                                Mat to_image,
                                Mat to_points,
                                Mat dense_flow)
        Interpolate input sparse matches.
        Parameters:
        from_image - first of the two matched images, 8-bit single-channel or three-channel.
        from_points - points of the from_image for which there are correspondences in the to_image (Point2f vector or Mat of depth CV_32F)
        to_image - second of the two matched images, 8-bit single-channel or three-channel.
        to_points - points in the to_image corresponding to from_points (Point2f vector or Mat of depth CV_32F)
        dense_flow - output dense matching (two-channel CV_32F image)
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class Algorithm
        Throws:
        java.lang.Throwable