Class VisualizeOpticalFlow


  • public class VisualizeOpticalFlow
    extends java.lang.Object
    Utilities for visualizing optical flow
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void colorized​(boofcv.struct.flow.ImageFlow flowImage, float maxValue, java.awt.image.BufferedImage out)  
      static void colorizeDirection​(boofcv.struct.flow.ImageFlow flowImage, java.awt.image.BufferedImage out)  
      void computeColor​(double dx, double dy)  
      void computeColor​(georegression.struct.point.Point2D_F64 p, georegression.struct.point.Point2D_F64 prev, boolean log)  
      void computeColorLog​(double dx, double dy)  
      java.awt.Color createColor()  
      void drawLine​(double x1, double y1, double x2, double y2, java.awt.Graphics2D g2)  
      static void magnitudeAbs​(boofcv.struct.flow.ImageFlow flowImage, float maxValue, java.awt.image.BufferedImage out)  
      static void magnitudeAbs​(boofcv.struct.flow.ImageFlow flowImage, java.awt.image.BufferedImage out)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • maxVelocity

        public double maxVelocity
      • red

        public int red
      • green

        public int green
      • blue

        public int blue
    • Constructor Detail

      • VisualizeOpticalFlow

        public VisualizeOpticalFlow()
    • Method Detail

      • colorizeDirection

        public static void colorizeDirection​(boofcv.struct.flow.ImageFlow flowImage,
                                             java.awt.image.BufferedImage out)
      • magnitudeAbs

        public static void magnitudeAbs​(boofcv.struct.flow.ImageFlow flowImage,
                                        java.awt.image.BufferedImage out)
      • magnitudeAbs

        public static void magnitudeAbs​(boofcv.struct.flow.ImageFlow flowImage,
                                        float maxValue,
                                        java.awt.image.BufferedImage out)
      • colorized

        public static void colorized​(boofcv.struct.flow.ImageFlow flowImage,
                                     float maxValue,
                                     java.awt.image.BufferedImage out)
      • drawLine

        public void drawLine​(double x1,
                             double y1,
                             double x2,
                             double y2,
                             java.awt.Graphics2D g2)
      • createColor

        public java.awt.Color createColor()
      • computeColor

        public void computeColor​(georegression.struct.point.Point2D_F64 p,
                                 georegression.struct.point.Point2D_F64 prev,
                                 boolean log)
      • computeColor

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

        public void computeColorLog​(double dx,
                                    double dy)