Package boofcv.gui.feature
Class VisualizeOpticalFlow
- java.lang.Object
-
- boofcv.gui.feature.VisualizeOpticalFlow
-
public class VisualizeOpticalFlow extends java.lang.ObjectUtilities for visualizing optical flow
-
-
Field Summary
Fields Modifier and Type Field Description intblueintgreendoublemaxVelocityintred
-
Constructor Summary
Constructors Constructor Description VisualizeOpticalFlow()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcolorized(boofcv.struct.flow.ImageFlow flowImage, float maxValue, java.awt.image.BufferedImage out)static voidcolorizeDirection(boofcv.struct.flow.ImageFlow flowImage, java.awt.image.BufferedImage out)voidcomputeColor(double dx, double dy)voidcomputeColor(georegression.struct.point.Point2D_F64 p, georegression.struct.point.Point2D_F64 prev, boolean log)voidcomputeColorLog(double dx, double dy)java.awt.ColorcreateColor()voiddrawLine(double x1, double y1, double x2, double y2, java.awt.Graphics2D g2)static voidmagnitudeAbs(boofcv.struct.flow.ImageFlow flowImage, float maxValue, java.awt.image.BufferedImage out)static voidmagnitudeAbs(boofcv.struct.flow.ImageFlow flowImage, java.awt.image.BufferedImage out)
-
-
-
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)
-
-