Package boofcv.gui.feature
Class VisualizeOpticalFlow
java.lang.Object
boofcv.gui.feature.VisualizeOpticalFlow
public class VisualizeOpticalFlow extends Object
Utilities for visualizing optical flow
-
Field Summary
Fields Modifier and Type Field Description int
blue
int
green
double
maxVelocity
int
red
-
Constructor Summary
Constructors Constructor Description VisualizeOpticalFlow()
-
Method Summary
Modifier and Type Method Description static void
colorized(ImageFlow flowImage, float maxValue, BufferedImage out)
static void
colorizeDirection(ImageFlow flowImage, BufferedImage out)
void
computeColor(double dx, double dy)
void
computeColor(Point2D_F64 p, Point2D_F64 prev, boolean log)
void
computeColorLog(double dx, double dy)
Color
createColor()
void
drawLine(double x1, double y1, double x2, double y2, Graphics2D g2)
static void
magnitudeAbs(ImageFlow flowImage, float maxValue, BufferedImage out)
static void
magnitudeAbs(ImageFlow flowImage, BufferedImage out)
-
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
-
magnitudeAbs
-
magnitudeAbs
-
colorized
-
drawLine
-
createColor
-
computeColor
-
computeColor
public void computeColor(double dx, double dy) -
computeColorLog
public void computeColorLog(double dx, double dy)
-