public class GImageBandMath
extends java.lang.Object
| Constructor and Description |
|---|
GImageBandMath() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends boofcv.struct.image.ImageGray<T>> |
average(boofcv.struct.image.Planar<T> input,
T output)
Computes the average for each pixel across all bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
average(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Computes the average for each pixel across the specified bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
maximum(boofcv.struct.image.Planar<T> input,
T output)
Computes the maximum for each pixel across all bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
maximum(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Computes the maximum for each pixel across the specified bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
median(boofcv.struct.image.Planar<T> input,
T output)
Computes the median for each pixel across all bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
median(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Computes the median for each pixel across the specified bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
minimum(boofcv.struct.image.Planar<T> input,
T output)
Computes the minimum for each pixel across all bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
minimum(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Computes the minimum for each pixel across specified bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
stdDev(boofcv.struct.image.Planar<T> input,
T output,
T avg)
Computes the standard deviation for each pixel across all bands in the
Planar image. |
static <T extends boofcv.struct.image.ImageGray<T>> |
stdDev(boofcv.struct.image.Planar<T> input,
T output,
T avg,
int startBand,
int lastBand)
Computes the standard deviation for each pixel across the specified bands in the
Planar image. |
public static <T extends boofcv.struct.image.ImageGray<T>> void minimum(boofcv.struct.image.Planar<T> input,
T output)
Planar image.input - Planar imageoutput - Gray scale image containing minimum pixel valuespublic static <T extends boofcv.struct.image.ImageGray<T>> void minimum(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Planar image.input - Planar imageoutput - Gray scale image containing minimum pixel valuesstartBand - First band to be consideredlastBand - Last band (inclusive) to be consideredpublic static <T extends boofcv.struct.image.ImageGray<T>> void maximum(boofcv.struct.image.Planar<T> input,
T output)
Planar image.input - Planar imageoutput - Gray scale image containing average pixel valuespublic static <T extends boofcv.struct.image.ImageGray<T>> void maximum(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Planar image.input - Planar imageoutput - Gray scale image containing average pixel valuesstartBand - First band to be consideredlastBand - Last band (inclusive) to be consideredpublic static <T extends boofcv.struct.image.ImageGray<T>> void average(boofcv.struct.image.Planar<T> input,
T output)
Planar image.input - Planar imageoutput - Gray scale image containing average pixel valuespublic static <T extends boofcv.struct.image.ImageGray<T>> void average(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Planar image.input - Planar imageoutput - Gray scale image containing average pixel valuesstartBand - First band to be consideredlastBand - Last band (inclusive) to be consideredpublic static <T extends boofcv.struct.image.ImageGray<T>> void median(boofcv.struct.image.Planar<T> input,
T output)
Planar image.input - Planar imageoutput - Gray scale image containing median pixel valuespublic static <T extends boofcv.struct.image.ImageGray<T>> void median(boofcv.struct.image.Planar<T> input,
T output,
int startBand,
int lastBand)
Planar image.input - Planar imageoutput - Gray scale image containing median pixel valuesstartBand - First band to be consideredlastBand - Last band (inclusive) to be consideredpublic static <T extends boofcv.struct.image.ImageGray<T>> void stdDev(boofcv.struct.image.Planar<T> input,
T output,
@Nullable
T avg)
Planar image.input - Planar imageoutput - Gray scale image containing average pixel valuesavg - Gray scale image containing average projection of inputpublic static <T extends boofcv.struct.image.ImageGray<T>> void stdDev(boofcv.struct.image.Planar<T> input,
T output,
@Nullable
T avg,
int startBand,
int lastBand)
Planar image.input - Planar image - unchangedoutput - Output Gray scale Image - changedavg - Optional gray scale image containing average pixel values - should be same size as a plane in inputstartBand - First band to be consideredlastBand - Last band (inclusive) to be considered