public class VisualizeImageData
extends java.lang.Object
| Constructor and Description |
|---|
VisualizeImageData() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
colorizeGradient(boofcv.struct.image.GrayF32 derivX,
boofcv.struct.image.GrayF32 derivY,
float maxAbsValue)
Renders two gradients on the same image using two sets of colors, on for each input image.
|
static java.awt.image.BufferedImage |
colorizeGradient(boofcv.struct.image.GrayS16 derivX,
boofcv.struct.image.GrayS16 derivY,
int maxAbsValue)
Renders two gradients on the same image using two sets of colors, on for each input image.
|
static java.awt.image.BufferedImage |
colorizeGradient(boofcv.struct.image.ImageGray derivX,
boofcv.struct.image.ImageGray derivY,
double maxAbsValue)
Renders two gradients on the same image using two sets of colors, on for each input image.
|
static java.awt.image.BufferedImage |
colorizeSign(boofcv.struct.image.ImageGray src,
java.awt.image.BufferedImage dst,
double normalize)
Renders a colored image where the color indicates the sign and intensity its magnitude.
|
static java.awt.image.BufferedImage |
disparity(boofcv.struct.image.ImageGray disparity,
java.awt.image.BufferedImage dst,
int minDisparity,
int maxDisparity,
int invalidColor)
Renders a gray scale image using color values from cold to hot.
|
static java.awt.image.BufferedImage |
grayMagnitude(boofcv.struct.image.ImageGray src,
java.awt.image.BufferedImage dst,
double normalize)
Renders a gray scale image of the input image's intensity.
dst(i,j) = 255*abs(src(i,j))/normalize |
static java.awt.image.BufferedImage |
grayMagnitudeTemp(boofcv.struct.image.ImageGray src,
java.awt.image.BufferedImage dst,
double normalize)
Renders a gray scale image using color values from cold to hot.
|
static java.awt.image.BufferedImage |
graySign(boofcv.struct.image.GrayF32 src,
java.awt.image.BufferedImage dst,
float maxAbsValue) |
static java.awt.image.BufferedImage |
grayUnsigned(boofcv.struct.image.GrayI src,
java.awt.image.BufferedImage dst,
int normalize) |
static java.awt.image.BufferedImage |
standard(boofcv.struct.image.ImageGray<?> src,
java.awt.image.BufferedImage dst) |
public static java.awt.image.BufferedImage standard(boofcv.struct.image.ImageGray<?> src,
java.awt.image.BufferedImage dst)
public static java.awt.image.BufferedImage colorizeSign(boofcv.struct.image.ImageGray src,
java.awt.image.BufferedImage dst,
double normalize)
Renders a colored image where the color indicates the sign and intensity its magnitude. The input is divided by normalize to render it in the appropriate scale.
src - Input single band image.dst - Where the image is rendered into. If null a new BufferedImage will be created and return.normalize - Used to normalize the input image. If ≤ 0 then the max value will be usedpublic static java.awt.image.BufferedImage grayUnsigned(boofcv.struct.image.GrayI src,
java.awt.image.BufferedImage dst,
int normalize)
public static java.awt.image.BufferedImage grayMagnitude(boofcv.struct.image.ImageGray src,
java.awt.image.BufferedImage dst,
double normalize)
Renders a gray scale image of the input image's intensity.
dst(i,j) = 255*abs(src(i,j))/normalize
src - Input single band image.dst - Where the image is rendered into. If null a new BufferedImage will be created and return.normalize - Used to normalize the input image. If < 0 then this value is automatically computed.public static java.awt.image.BufferedImage grayMagnitudeTemp(boofcv.struct.image.ImageGray src,
java.awt.image.BufferedImage dst,
double normalize)
Renders a gray scale image using color values from cold to hot.
src - Input single band image.dst - Where the image is rendered into. If null a new BufferedImage will be created and return.normalize - Used to normalize the input image.public static java.awt.image.BufferedImage disparity(boofcv.struct.image.ImageGray disparity,
java.awt.image.BufferedImage dst,
int minDisparity,
int maxDisparity,
int invalidColor)
Renders a gray scale image using color values from cold to hot.
disparity - Input disparity imagedst - Where the image is rendered into. If null a new BufferedImage will be created and return.minDisparity - Minimum disparity that can be computedmaxDisparity - Maximum disparity that can be computedinvalidColor - RGB value for invalid pixels. Try 0xFF << 8 for greenpublic static java.awt.image.BufferedImage graySign(boofcv.struct.image.GrayF32 src,
java.awt.image.BufferedImage dst,
float maxAbsValue)
public static java.awt.image.BufferedImage colorizeGradient(boofcv.struct.image.ImageGray derivX,
boofcv.struct.image.ImageGray derivY,
double maxAbsValue)
derivX - (Input) Image with positive and negative values.derivY - (Input) Image with positive and negative values.maxAbsValue - The largest absolute value of any pixel in the image. Set to < 0 if not known.public static java.awt.image.BufferedImage colorizeGradient(boofcv.struct.image.GrayS16 derivX,
boofcv.struct.image.GrayS16 derivY,
int maxAbsValue)
derivX - (Input) Image with positive and negative values.derivY - (Input) Image with positive and negative values.maxAbsValue - The largest absolute value of any pixel in the image. Set to < 0 if not known.public static java.awt.image.BufferedImage colorizeGradient(boofcv.struct.image.GrayF32 derivX,
boofcv.struct.image.GrayF32 derivY,
float maxAbsValue)
derivX - (Input) Image with positive and negative values.derivY - (Input) Image with positive and negative values.maxAbsValue - The largest absolute value of any pixel in the image. Set to < 0 if not known.