Class VisualizeOpticalFlow

java.lang.Object
boofcv.gui.feature.VisualizeOpticalFlow

public class VisualizeOpticalFlow extends Object
Utilities for visualizing optical flow
  • Field Details

    • maxVelocity

      public double maxVelocity
    • red

      public int red
    • green

      public int green
    • blue

      public int blue
  • Constructor Details

    • VisualizeOpticalFlow

      public VisualizeOpticalFlow()
  • Method Details

    • colorizeDirection

      public static void colorizeDirection(ImageFlow flowImage, BufferedImage out)
    • magnitudeAbs

      public static void magnitudeAbs(ImageFlow flowImage, BufferedImage out)
    • magnitudeAbs

      public static void magnitudeAbs(ImageFlow flowImage, float maxValue, BufferedImage out)
    • colorized

      public static void colorized(ImageFlow flowImage, float maxValue, BufferedImage out)
    • drawLine

      public void drawLine(double x1, double y1, double x2, double y2, Graphics2D g2)
    • createColor

      public Color createColor()
    • computeColor

      public void computeColor(Point2D_F64 p, Point2D_F64 prev, boolean log)
    • computeColor

      public void computeColor(double dx, double dy)
    • computeColorLog

      public void computeColorLog(double dx, double dy)