Package boofcv.alg.filter.derivative
Class GradientReduceToSingle
- java.lang.Object
-
- boofcv.alg.filter.derivative.GradientReduceToSingle
-
public class GradientReduceToSingle extends java.lang.ObjectContains functions that reduce the number of bands in the input image into a single band.
-
-
Constructor Summary
Constructors Constructor Description GradientReduceToSingle()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmaxf(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inX, boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inY, boofcv.struct.image.GrayF32 outX, boofcv.struct.image.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 voidmaxf(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inX, boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inY, boofcv.struct.image.GrayU8 outX, boofcv.struct.image.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
-
-
-
Method Detail
-
maxf
public static void maxf(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inX, boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inY, boofcv.struct.image.GrayF32 outX, boofcv.struct.image.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- Parameters:
inX- Input gradient XinY- Input gradient YoutX- Output gradient XoutY- Output gradient Y
-
maxf
public static void maxf(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inX, boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inY, boofcv.struct.image.GrayU8 outX, boofcv.struct.image.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- Parameters:
inX- Input gradient XinY- Input gradient YoutX- Output gradient XoutY- Output gradient Y
-
-