public class GGradientToEdgeFeatures
extends java.lang.Object
GradientToEdgeFeatures.| Constructor and Description |
|---|
GGradientToEdgeFeatures() |
| Modifier and Type | Method and Description |
|---|---|
static <D extends boofcv.struct.image.ImageGray> |
direction(D derivX,
D derivY,
boofcv.struct.image.GrayF32 angle)
Computes the edge orientation using the
Math.atan(double) function. |
static <D extends boofcv.struct.image.ImageGray> |
direction2(D derivX,
D derivY,
boofcv.struct.image.GrayF32 angle)
Computes the edge orientation using the
Math.atan2(double, double) function. |
static <D extends boofcv.struct.image.ImageGray> |
intensityAbs(D derivX,
D derivY,
boofcv.struct.image.GrayF32 intensity)
Computes the edge intensity using a Euclidean norm.
|
static <D extends boofcv.struct.image.ImageGray> |
intensityE(D derivX,
D derivY,
boofcv.struct.image.GrayF32 intensity)
Computes the edge intensity using a Euclidean norm.
|
static <D extends boofcv.struct.image.ImageGray> |
nonMaxSuppressionCrude4(boofcv.struct.image.GrayF32 intensity,
D derivX,
D derivY,
boofcv.struct.image.GrayF32 output)
Sets edge intensities to zero if the pixel has an intensity which is less than any of
the two adjacent pixels.
|
public static <D extends boofcv.struct.image.ImageGray> void intensityE(D derivX,
D derivY,
boofcv.struct.image.GrayF32 intensity)
derivX - Derivative along x-axis. Not modified.derivY - Derivative along y-axis. Not modified.intensity - Edge intensity.public static <D extends boofcv.struct.image.ImageGray> void intensityAbs(D derivX,
D derivY,
boofcv.struct.image.GrayF32 intensity)
derivX - Derivative along x-axis. Not modified.derivY - Derivative along y-axis. Not modified.intensity - Edge intensity.public static <D extends boofcv.struct.image.ImageGray> void direction(D derivX,
D derivY,
boofcv.struct.image.GrayF32 angle)
Math.atan(double) function.derivX - Derivative along x-axis. Not modified.derivY - Derivative along y-axis. Not modified.angle - Edge orientation in radians (-pi/2 to pi/2).public static <D extends boofcv.struct.image.ImageGray> void direction2(D derivX,
D derivY,
boofcv.struct.image.GrayF32 angle)
Math.atan2(double, double) function.derivX - Derivative along x-axis. Not modified.derivY - Derivative along y-axis. Not modified.angle - Edge orientation in radians (-pi to pi).public static <D extends boofcv.struct.image.ImageGray> void nonMaxSuppressionCrude4(boofcv.struct.image.GrayF32 intensity,
D derivX,
D derivY,
boofcv.struct.image.GrayF32 output)
Sets edge intensities to zero if the pixel has an intensity which is less than any of the two adjacent pixels. Pixel adjacency is determined based upon the sign of the image gradient. Less precise than other methods, but faster.
intensity - Edge intensities. Not modified.derivX - Image derivative along x-axis.derivY - Image derivative along y-axis.output - Filtered intensity. Modified.