Package boofcv.alg.filter.derivative
Class GradientReduceToSingle
java.lang.Object
boofcv.alg.filter.derivative.GradientReduceToSingle
public class GradientReduceToSingle extends Object
Contains functions that reduce the number of bands in the input image into a single band.
-
Constructor Summary
Constructors Constructor Description GradientReduceToSingle()
-
Method Summary
Modifier and Type Method 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 basisstatic 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
-
Constructor Details
-
GradientReduceToSingle
public GradientReduceToSingle()
-
-
Method Details
-
maxf
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- Parameters:
inX
- Input gradient XinY
- Input gradient YoutX
- Output gradient XoutY
- Output gradient Y
-
maxf
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- Parameters:
inX
- Input gradient XinY
- Input gradient YoutX
- Output gradient XoutY
- Output gradient Y
-