Package boofcv.alg.filter.derivative
Class GradientReduceToSingle
java.lang.Object
boofcv.alg.filter.derivative.GradientReduceToSingle
Contains functions that reduce the number of bands in the input image into a single band.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
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
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
-