public class GradientReduceToSingle
extends java.lang.Object
| Constructor and Description |
|---|
GradientReduceToSingle() |
| Modifier and Type | Method and Description |
|---|---|
static void |
maxf(Planar<GrayF32> inX,
Planar<GrayF32> inY,
GrayF32 outX,
GrayF32 outY)
Reduces the number of bands by selecting the band with the largest Frobenius norm and using
its gradient to be the output gradient on a pixel-by-pixel basis
|
static void |
maxf(Planar<GrayU8> inX,
Planar<GrayU8> inY,
GrayU8 outX,
GrayU8 outY)
Reduces the number of bands by selecting the band with the largest Frobenius norm and using
its gradient to be the output gradient on a pixel-by-pixel basis
|
public static void maxf(Planar<GrayF32> inX, Planar<GrayF32> inY, GrayF32 outX, GrayF32 outY)
inX - Input gradient XinY - Input gradient YoutX - Output gradient XoutY - Output gradient Ypublic static void maxf(Planar<GrayU8> inX, Planar<GrayU8> inY, GrayU8 outX, GrayU8 outY)
inX - Input gradient XinY - Input gradient YoutX - Output gradient XoutY - Output gradient Y