Package boofcv.alg.misc
Class ImageBandMath
java.lang.Object
boofcv.alg.misc.ImageBandMath
DO NOT MODIFY: Generated by boofcv.alg.misc.GenerateImageBandMath.
Collection of functions that project Bands of Planar images onto a single image. Can be used to perform projections such as minimum, maximum, average, median, standard Deviation.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Computes the average for each pixel across all bands in thePlanar
image.static void
Computes the average for each pixel across selected bands in thePlanar
image.static void
Computes the average for each pixel across all bands in thePlanar
image.static void
Computes the average for each pixel across selected bands in thePlanar
image.static void
Computes the average for each pixel across all bands in thePlanar
image.static void
Computes the average for each pixel across selected bands in thePlanar
image.static void
Computes the average for each pixel across all bands in thePlanar
image.static void
Computes the average for each pixel across selected bands in thePlanar
image.static void
Computes the average for each pixel across all bands in thePlanar
image.static void
Computes the average for each pixel across selected bands in thePlanar
image.static void
Computes the average for each pixel across all bands in thePlanar
image.static void
Computes the average for each pixel across selected bands in thePlanar
image.static void
Computes the average for each pixel across all bands in thePlanar
image.static void
Computes the average for each pixel across selected bands in thePlanar
image.static <T extends ImageGray<T>>
voidcheckInput
(Planar<T> input, int startBand, int lastBand) static void
Computes the maximum for each pixel across all bands in thePlanar
image.static void
Computes the maximum for each pixel across selected bands in thePlanar
image.static void
Computes the maximum for each pixel across all bands in thePlanar
image.static void
Computes the maximum for each pixel across selected bands in thePlanar
image.static void
Computes the maximum for each pixel across all bands in thePlanar
image.static void
Computes the maximum for each pixel across selected bands in thePlanar
image.static void
Computes the maximum for each pixel across all bands in thePlanar
image.static void
Computes the maximum for each pixel across selected bands in thePlanar
image.static void
Computes the maximum for each pixel across all bands in thePlanar
image.static void
Computes the maximum for each pixel across selected bands in thePlanar
image.static void
Computes the maximum for each pixel across all bands in thePlanar
image.static void
Computes the maximum for each pixel across selected bands in thePlanar
image.static void
Computes the maximum for each pixel across all bands in thePlanar
image.static void
Computes the maximum for each pixel across selected bands in thePlanar
image.static void
Computes the median for each pixel across all bands in thePlanar
image.static void
Computes the median for each pixel across selected bands in thePlanar
image.static void
Computes the median for each pixel across all bands in thePlanar
image.static void
Computes the median for each pixel across selected bands in thePlanar
image.static void
Computes the median for each pixel across all bands in thePlanar
image.static void
Computes the median for each pixel across selected bands in thePlanar
image.static void
Computes the median for each pixel across all bands in thePlanar
image.static void
Computes the median for each pixel across selected bands in thePlanar
image.static void
Computes the median for each pixel across all bands in thePlanar
image.static void
Computes the median for each pixel across selected bands in thePlanar
image.static void
Computes the median for each pixel across all bands in thePlanar
image.static void
Computes the median for each pixel across selected bands in thePlanar
image.static void
Computes the median for each pixel across all bands in thePlanar
image.static void
Computes the median for each pixel across selected bands in thePlanar
image.static void
Computes the minimum for each pixel across all bands in thePlanar
image.static void
Computes the minimum for each pixel across selected bands in thePlanar
image.static void
Computes the minimum for each pixel across all bands in thePlanar
image.static void
Computes the minimum for each pixel across selected bands in thePlanar
image.static void
Computes the minimum for each pixel across all bands in thePlanar
image.static void
Computes the minimum for each pixel across selected bands in thePlanar
image.static void
Computes the minimum for each pixel across all bands in thePlanar
image.static void
Computes the minimum for each pixel across selected bands in thePlanar
image.static void
Computes the minimum for each pixel across all bands in thePlanar
image.static void
Computes the minimum for each pixel across selected bands in thePlanar
image.static void
Computes the minimum for each pixel across all bands in thePlanar
image.static void
Computes the minimum for each pixel across selected bands in thePlanar
image.static void
Computes the minimum for each pixel across all bands in thePlanar
image.static void
Computes the minimum for each pixel across selected bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.static void
Computes the standard deviation for each pixel across all bands in thePlanar
image.
-
Constructor Details
-
ImageBandMath
public ImageBandMath()
-
-
Method Details
-
checkInput
-
minimum
Computes the minimum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel values
-
minimum
Computes the minimum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
maximum
Computes the maximum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel values
-
maximum
Computes the maximum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
average
Computes the average for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel values
-
average
Computes the average for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
median
Computes the median for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel values
-
median
Computes the median for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
stdDev
Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be null
-
stdDev
public static void stdDev(Planar<GrayU8> input, GrayU8 output, @Nullable @Nullable GrayU8 avg, int startBand, int lastBand) Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be nullstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
minimum
Computes the minimum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel values
-
minimum
Computes the minimum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
maximum
Computes the maximum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel values
-
maximum
Computes the maximum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
average
Computes the average for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel values
-
average
Computes the average for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
median
Computes the median for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel values
-
median
Computes the median for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
stdDev
Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be null
-
stdDev
public static void stdDev(Planar<GrayS16> input, GrayS16 output, @Nullable @Nullable GrayS16 avg, int startBand, int lastBand) Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be nullstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
minimum
Computes the minimum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel values
-
minimum
Computes the minimum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
maximum
Computes the maximum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel values
-
maximum
Computes the maximum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
average
Computes the average for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel values
-
average
Computes the average for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
median
Computes the median for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel values
-
median
Computes the median for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
stdDev
Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be null
-
stdDev
public static void stdDev(Planar<GrayU16> input, GrayU16 output, @Nullable @Nullable GrayU16 avg, int startBand, int lastBand) Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be nullstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
minimum
Computes the minimum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel values
-
minimum
Computes the minimum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
maximum
Computes the maximum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel values
-
maximum
Computes the maximum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
average
Computes the average for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel values
-
average
Computes the average for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
median
Computes the median for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel values
-
median
Computes the median for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
stdDev
Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be null
-
stdDev
public static void stdDev(Planar<GrayS32> input, GrayS32 output, @Nullable @Nullable GrayS32 avg, int startBand, int lastBand) Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be nullstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
minimum
Computes the minimum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel values
-
minimum
Computes the minimum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
maximum
Computes the maximum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel values
-
maximum
Computes the maximum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
average
Computes the average for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel values
-
average
Computes the average for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
median
Computes the median for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel values
-
median
Computes the median for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
stdDev
Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be null
-
stdDev
public static void stdDev(Planar<GrayS64> input, GrayS64 output, @Nullable @Nullable GrayS64 avg, int startBand, int lastBand) Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be nullstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
minimum
Computes the minimum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel values
-
minimum
Computes the minimum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
maximum
Computes the maximum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel values
-
maximum
Computes the maximum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
average
Computes the average for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel values
-
average
Computes the average for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
median
Computes the median for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel values
-
median
Computes the median for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
stdDev
Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be null
-
stdDev
public static void stdDev(Planar<GrayF32> input, GrayF32 output, @Nullable @Nullable GrayF32 avg, int startBand, int lastBand) Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be nullstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
minimum
Computes the minimum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel values
-
minimum
Computes the minimum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing minimum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
maximum
Computes the maximum for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel values
-
maximum
Computes the maximum for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing maximum pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
average
Computes the average for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel values
-
average
Computes the average for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing average pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
median
Computes the median for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel values
-
median
Computes the median for each pixel across selected bands in thePlanar
image.- Parameters:
input
- Planar imageoutput
- Gray scale image containing median pixel valuesstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-
stdDev
Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be null
-
stdDev
public static void stdDev(Planar<GrayF64> input, GrayF64 output, @Nullable @Nullable GrayF64 avg, int startBand, int lastBand) Computes the standard deviation for each pixel across all bands in thePlanar
image.- Parameters:
input
- Planar image - not modifiedoutput
- Gray scale image containing average pixel values - modifiedavg
- Input Gray scale image containing average image. Can be nullstartBand
- First band to be included in the projectionlastBand
- Last band to be included in the projection
-