| Package | Description |
|---|---|
| boofcv.alg.misc | |
| boofcv.alg.transform.ii | |
| boofcv.alg.transform.ii.impl | |
| boofcv.core.image | |
| boofcv.core.image.border | |
| boofcv.core.image.impl | |
| boofcv.struct.image |
| Modifier and Type | Method and Description |
|---|---|
static void |
PixelMath.abs(ImageSInt64 input,
ImageSInt64 output)
Sets each pixel in the output image to be the absolute value of the input image.
|
static void |
PixelMath.add(ImageSInt64 imgA,
ImageSInt64 imgB,
ImageSInt64 output)
Performs pixel-wise addition
output(x,y) = imgA(x,y) + imgB(x,y) |
static void |
ImageMiscOps.addGaussian(ImageSInt64 input,
Random rand,
double sigma,
long lowerBound,
long upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
ImageMiscOps.addUniform(ImageSInt64 input,
Random rand,
long min,
long max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
PixelMath.averageBand(MultiSpectral<ImageSInt64> input,
ImageSInt64 output)
Computes the average for each pixel across all bands in the
MultiSpectral image. |
static void |
PixelMath.boundImage(ImageSInt64 img,
long min,
long max)
Bounds image pixels to be between these two values
|
static void |
ImageMiscOps.copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageSInt64 input,
ImageSInt64 output)
Copies a rectangular region from one image into another.
output[dstX:(dstX+width) , dstY:(dstY+height-1)] = input[srcX:(srcX+width) , srcY:(srcY+height-1)] |
static void |
PixelMath.diffAbs(ImageSInt64 imgA,
ImageSInt64 imgB,
ImageSInt64 diff)
Computes the absolute value of the difference between each pixel in the two images.
d(x,y) = |img1(x,y) - img2(x,y)| |
static void |
PixelMath.divide(ImageSInt64 input,
double denominator,
ImageSInt64 output)
Divide each element by a scalar value.
|
static void |
PixelMath.divide(ImageSInt64 input,
double denominator,
long lower,
long upper,
ImageSInt64 output)
Divide each element by a scalar value and bounds the result.
|
static void |
ImageMiscOps.fill(ImageSInt64 input,
long value)
Fills the whole image with the specified value
|
static void |
ImageMiscOps.fillBorder(ImageSInt64 input,
long value,
int radius)
Fills the outside border with the specified value
|
static void |
ImageMiscOps.fillGaussian(ImageSInt64 input,
Random rand,
double mean,
double sigma,
long lowerBound,
long upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
ImageMiscOps.fillRectangle(ImageSInt64 img,
long value,
int x0,
int y0,
int width,
int height)
Draws a filled rectangle that is aligned along the image axis inside the image.
|
static void |
ImageMiscOps.fillUniform(ImageSInt64 img,
Random rand,
long min,
long max)
Sets each value in the image to a value drawn from an uniform distribution that has a range of min <= X < max.
|
static void |
ImageMiscOps.flipVertical(ImageSInt64 input)
Flips the image from top to bottom
|
static void |
ImageStatistics.histogram(ImageSInt64 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
PixelMath.invert(ImageSInt64 input,
ImageSInt64 output)
Changes the sign of every pixel in the image: output[x,y] = -input[x,y]
|
static long |
ImageStatistics.max(ImageSInt64 input)
Returns the maximum element value.
|
static long |
ImageStatistics.maxAbs(ImageSInt64 input)
Returns the absolute value of the element with the largest absolute value.
|
static double |
ImageStatistics.mean(ImageSInt64 img)
Returns the mean pixel intensity value.
|
static double |
ImageStatistics.meanDiffAbs(ImageSInt64 imgA,
ImageSInt64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
ImageStatistics.meanDiffSq(ImageSInt64 imgA,
ImageSInt64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static long |
ImageStatistics.min(ImageSInt64 input)
Returns the minimum element value.
|
static void |
PixelMath.multiply(ImageSInt64 input,
double value,
ImageSInt64 output)
Multiply each element by a scalar value.
|
static void |
PixelMath.multiply(ImageSInt64 input,
double value,
long lower,
long upper,
ImageSInt64 output)
Multiply each element by a scalar value and bounds the result.
|
static void |
PixelMath.plus(ImageSInt64 input,
long value,
ImageSInt64 output)
Add a scalar value to each element.
|
static void |
PixelMath.plus(ImageSInt64 input,
long value,
long lower,
long upper,
ImageSInt64 output)
Add a scalar value to each element and bounds the result.
|
static void |
PixelMath.subtract(ImageSInt64 imgA,
ImageSInt64 imgB,
ImageSInt64 output)
Performs pixel-wise subtraction.
output(x,y) = imgA(x,y) - imgB(x,y) |
static long |
ImageStatistics.sum(ImageSInt64 img)
Returns the sum of all the pixels in the image.
|
static double |
ImageStatistics.variance(ImageSInt64 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PixelMath.averageBand(MultiSpectral<ImageSInt64> input,
ImageSInt64 output)
Computes the average for each pixel across all bands in the
MultiSpectral image. |
| Modifier and Type | Method and Description |
|---|---|
static ImageSInt64 |
IntegralImageOps.convolve(ImageSInt64 integral,
IntegralKernel kernel,
ImageSInt64 output)
General code for convolving a box filter across an image using the integral image.
|
static ImageSInt64 |
IntegralImageOps.convolveBorder(ImageSInt64 integral,
IntegralKernel kernel,
ImageSInt64 output,
int borderX,
int borderY)
Convolves the kernel only across the image's border.
|
static ImageSInt64 |
IntegralImageOps.transform(ImageSInt64 input,
ImageSInt64 transformed)
Converts a regular image into an integral image.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
IntegralImageOps.block_unsafe(ImageSInt64 integral,
int x0,
int y0,
int x1,
int y1)
Computes the value of a block inside an integral image without bounds checking.
|
static long |
IntegralImageOps.block_zero(ImageSInt64 integral,
int x0,
int y0,
int x1,
int y1)
Computes the value of a block inside an integral image and treats pixels outside of the
image as zero.
|
static ImageSInt64 |
IntegralImageOps.convolve(ImageSInt64 integral,
IntegralKernel kernel,
ImageSInt64 output)
General code for convolving a box filter across an image using the integral image.
|
static ImageSInt64 |
IntegralImageOps.convolveBorder(ImageSInt64 integral,
IntegralKernel kernel,
ImageSInt64 output,
int borderX,
int borderY)
Convolves the kernel only across the image's border.
|
static long |
IntegralImageOps.convolveSparse(ImageSInt64 integral,
IntegralKernel kernel,
int x,
int y)
Convolves a kernel around a single point in the integral image.
|
static ImageSInt64 |
IntegralImageOps.transform(ImageSInt64 input,
ImageSInt64 transformed)
Converts a regular image into an integral image.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
ImplIntegralImageOps.block_unsafe(ImageSInt64 integral,
int x0,
int y0,
int x1,
int y1) |
static long |
ImplIntegralImageOps.block_zero(ImageSInt64 integral,
int x0,
int y0,
int x1,
int y1) |
static void |
ImplIntegralImageOps.convolve(ImageSInt64 integral,
IntegralKernel kernel,
ImageSInt64 output) |
static void |
ImplIntegralImageOps.convolveBorder(ImageSInt64 integral,
IntegralKernel kernel,
ImageSInt64 output,
int borderX,
int borderY) |
static long |
ImplIntegralImageOps.convolveSparse(ImageSInt64 integral,
IntegralKernel kernel,
int x,
int y) |
static void |
ImplIntegralImageOps.transform(ImageSInt64 input,
ImageSInt64 transformed) |
| Modifier and Type | Method and Description |
|---|---|
static ImageSInt64 |
ConvertImage.average(MultiSpectral<ImageSInt64> input,
ImageSInt64 output)
Converts a
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands. |
static ImageSInt64 |
ConvertImage.convert(ImageFloat32 input,
ImageSInt64 output)
Converts an
ImageFloat32 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageFloat64 input,
ImageSInt64 output)
Converts an
ImageFloat64 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageSInt16 input,
ImageSInt64 output)
Converts an
ImageSInt16 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageSInt32 input,
ImageSInt64 output)
Converts an
ImageSInt32 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageSInt8 input,
ImageSInt64 output)
Converts an
ImageSInt8 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageUInt16 input,
ImageSInt64 output)
Converts an
ImageUInt16 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageUInt8 input,
ImageSInt64 output)
Converts an
ImageUInt8 into a ImageSInt64. |
| Modifier and Type | Method and Description |
|---|---|
static ImageSInt64 |
ConvertImage.average(MultiSpectral<ImageSInt64> input,
ImageSInt64 output)
Converts a
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands. |
static ImageSInt64 |
ConvertImage.convert(ImageFloat32 input,
ImageSInt64 output)
Converts an
ImageFloat32 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageFloat64 input,
ImageSInt64 output)
Converts an
ImageFloat64 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageSInt16 input,
ImageSInt64 output)
Converts an
ImageSInt16 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageSInt32 input,
ImageSInt64 output)
Converts an
ImageSInt32 into a ImageSInt64. |
static ImageFloat32 |
ConvertImage.convert(ImageSInt64 input,
ImageFloat32 output)
Converts an
ImageSInt64 into a ImageFloat32. |
static ImageFloat64 |
ConvertImage.convert(ImageSInt64 input,
ImageFloat64 output)
Converts an
ImageSInt64 into a ImageFloat64. |
static ImageSInt16 |
ConvertImage.convert(ImageSInt64 input,
ImageSInt16 output)
Converts an
ImageSInt64 into a ImageSInt16. |
static ImageSInt32 |
ConvertImage.convert(ImageSInt64 input,
ImageSInt32 output)
Converts an
ImageSInt64 into a ImageSInt32. |
static ImageSInt8 |
ConvertImage.convert(ImageSInt64 input,
ImageSInt8 output)
Converts an
ImageSInt64 into a ImageSInt8. |
static ImageUInt16 |
ConvertImage.convert(ImageSInt64 input,
ImageUInt16 output)
Converts an
ImageSInt64 into a ImageUInt16. |
static ImageUInt8 |
ConvertImage.convert(ImageSInt64 input,
ImageUInt8 output)
Converts an
ImageSInt64 into a ImageUInt8. |
static ImageSInt64 |
ConvertImage.convert(ImageSInt8 input,
ImageSInt64 output)
Converts an
ImageSInt8 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageUInt16 input,
ImageSInt64 output)
Converts an
ImageUInt16 into a ImageSInt64. |
static ImageSInt64 |
ConvertImage.convert(ImageUInt8 input,
ImageSInt64 output)
Converts an
ImageUInt8 into a ImageSInt64. |
| Modifier and Type | Method and Description |
|---|---|
static ImageSInt64 |
ConvertImage.average(MultiSpectral<ImageSInt64> input,
ImageSInt64 output)
Converts a
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands. |
| Constructor and Description |
|---|
FactoryGImageSingleBand.GSingle_I64(ImageSInt64 image) |
| Modifier and Type | Method and Description |
|---|---|
void |
ImageBorder1D_I64.setImage(ImageSInt64 image) |
static ImageBorder_I64 |
ImageBorderValue.wrap(ImageSInt64 image,
long value) |
| Constructor and Description |
|---|
ImageBorder_I64(ImageSInt64 image) |
ImageBorder1D_I64(ImageSInt64 image,
BorderIndex1D rowWrap,
BorderIndex1D colWrap) |
ImageBorderValue.Value_I64(ImageSInt64 image,
long value) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ImplConvertMsToSingle.average(MultiSpectral<ImageSInt64> from,
ImageSInt64 to) |
static void |
ImplConvertImage.convert(ImageFloat32 from,
ImageSInt64 to) |
static void |
ImplConvertImage.convert(ImageFloat64 from,
ImageSInt64 to) |
static void |
ImplConvertImage.convert(ImageSInt16 from,
ImageSInt64 to) |
static void |
ImplConvertImage.convert(ImageSInt32 from,
ImageSInt64 to) |
static void |
ImplConvertImage.convert(ImageSInt64 from,
ImageFloat32 to) |
static void |
ImplConvertImage.convert(ImageSInt64 from,
ImageFloat64 to) |
static void |
ImplConvertImage.convert(ImageSInt64 from,
ImageInt16 to) |
static void |
ImplConvertImage.convert(ImageSInt64 from,
ImageInt8 to) |
static void |
ImplConvertImage.convert(ImageSInt64 from,
ImageSInt32 to) |
static void |
ImplConvertImage.convert(ImageSInt8 from,
ImageSInt64 to) |
static void |
ImplConvertImage.convert(ImageUInt16 from,
ImageSInt64 to) |
static void |
ImplConvertImage.convert(ImageUInt8 from,
ImageSInt64 to) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ImplConvertMsToSingle.average(MultiSpectral<ImageSInt64> from,
ImageSInt64 to) |
| Modifier and Type | Method and Description |
|---|---|
ImageSInt64 |
ImageSInt64._createNew(int imgWidth,
int imgHeight) |
Copyright © 2013. All Rights Reserved.