public class ImageMiscOps
extends java.lang.Object
DO NOT MODIFY: Generated by boofcv.alg.misc.GenerateImageMiscOps.
| Constructor and Description |
|---|
ImageMiscOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addGaussian(ImageFloat32 input,
java.util.Random rand,
double sigma,
float lowerBound,
float upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(ImageFloat64 input,
java.util.Random rand,
double sigma,
double lowerBound,
double upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(ImageSInt16 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(ImageSInt32 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(ImageSInt64 input,
java.util.Random rand,
double sigma,
long lowerBound,
long upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(ImageSInt8 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(ImageUInt16 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(ImageUInt8 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedF32 input,
java.util.Random rand,
double sigma,
float lowerBound,
float upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedF64 input,
java.util.Random rand,
double sigma,
double lowerBound,
double upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedS16 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedS32 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedS64 input,
java.util.Random rand,
double sigma,
long lowerBound,
long upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedS8 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedU16 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addGaussian(InterleavedU8 input,
java.util.Random rand,
double sigma,
int lowerBound,
int upperBound)
Adds Gaussian/normal i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageFloat32 input,
java.util.Random rand,
float min,
float max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageFloat64 input,
java.util.Random rand,
double min,
double max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageSInt16 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageSInt32 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageSInt64 input,
java.util.Random rand,
long min,
long max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageSInt8 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageUInt16 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(ImageUInt8 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedF32 input,
java.util.Random rand,
float min,
float max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedF64 input,
java.util.Random rand,
double min,
double max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedS16 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedS32 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedS64 input,
java.util.Random rand,
long min,
long max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedS8 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedU16 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(InterleavedU8 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageFloat32 input,
ImageFloat32 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 |
copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageFloat64 input,
ImageFloat64 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 |
copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageInt16 input,
ImageInt16 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 |
copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageInt8 input,
ImageInt8 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 |
copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageSInt32 input,
ImageSInt32 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 |
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 |
fill(ImageFloat32 input,
float value)
Fills the whole image with the specified value
|
static void |
fill(ImageFloat64 input,
double value)
Fills the whole image with the specified value
|
static void |
fill(ImageInt16 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(ImageInt8 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(ImageSInt32 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(ImageSInt64 input,
long value)
Fills the whole image with the specified value
|
static void |
fill(InterleavedF32 input,
float value)
Fills the whole image with the specified value
|
static void |
fill(InterleavedF32 input,
float[] values)
Fills each band in the image with the specified values
|
static void |
fill(InterleavedF64 input,
double value)
Fills the whole image with the specified value
|
static void |
fill(InterleavedF64 input,
double[] values)
Fills each band in the image with the specified values
|
static void |
fill(InterleavedI16 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(InterleavedI16 input,
int[] values)
Fills each band in the image with the specified values
|
static void |
fill(InterleavedI8 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(InterleavedI8 input,
int[] values)
Fills each band in the image with the specified values
|
static void |
fill(InterleavedS32 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(InterleavedS32 input,
int[] values)
Fills each band in the image with the specified values
|
static void |
fill(InterleavedS64 input,
long value)
Fills the whole image with the specified value
|
static void |
fill(InterleavedS64 input,
long[] values)
Fills each band in the image with the specified values
|
static void |
fillBand(InterleavedF32 input,
int band,
float value)
Fills one band in the image with the specified value
|
static void |
fillBand(InterleavedF64 input,
int band,
double value)
Fills one band in the image with the specified value
|
static void |
fillBand(InterleavedI16 input,
int band,
int value)
Fills one band in the image with the specified value
|
static void |
fillBand(InterleavedI8 input,
int band,
int value)
Fills one band in the image with the specified value
|
static void |
fillBand(InterleavedS32 input,
int band,
int value)
Fills one band in the image with the specified value
|
static void |
fillBand(InterleavedS64 input,
int band,
long value)
Fills one band in the image with the specified value
|
static void |
fillBorder(ImageFloat32 input,
float value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(ImageFloat64 input,
double value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(ImageInt16 input,
int value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(ImageInt8 input,
int value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(ImageSInt32 input,
int value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(ImageSInt64 input,
long value,
int radius)
Fills the outside border with the specified value
|
static void |
fillGaussian(ImageFloat32 input,
java.util.Random rand,
double mean,
double sigma,
float lowerBound,
float upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(ImageFloat64 input,
java.util.Random rand,
double mean,
double sigma,
double lowerBound,
double upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(ImageInt16 input,
java.util.Random rand,
double mean,
double sigma,
int lowerBound,
int upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(ImageInt8 input,
java.util.Random rand,
double mean,
double sigma,
int lowerBound,
int upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(ImageSInt32 input,
java.util.Random rand,
double mean,
double sigma,
int lowerBound,
int upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(ImageSInt64 input,
java.util.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 |
fillGaussian(InterleavedF32 input,
java.util.Random rand,
double mean,
double sigma,
float lowerBound,
float upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(InterleavedF64 input,
java.util.Random rand,
double mean,
double sigma,
double lowerBound,
double upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(InterleavedI16 input,
java.util.Random rand,
double mean,
double sigma,
int lowerBound,
int upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(InterleavedI8 input,
java.util.Random rand,
double mean,
double sigma,
int lowerBound,
int upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(InterleavedS32 input,
java.util.Random rand,
double mean,
double sigma,
int lowerBound,
int upperBound)
Sets each value in the image to a value drawn from a Gaussian distribution.
|
static void |
fillGaussian(InterleavedS64 input,
java.util.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 |
fillRectangle(ImageFloat32 img,
float 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 |
fillRectangle(ImageFloat64 img,
double 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 |
fillRectangle(ImageInt16 img,
int 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 |
fillRectangle(ImageInt8 img,
int 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 |
fillRectangle(ImageSInt32 img,
int 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 |
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 |
fillRectangle(InterleavedF32 img,
float 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 |
fillRectangle(InterleavedF64 img,
double 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 |
fillRectangle(InterleavedI16 img,
short 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 |
fillRectangle(InterleavedI8 img,
byte 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 |
fillRectangle(InterleavedS32 img,
int 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 |
fillRectangle(InterleavedS64 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 |
fillUniform(ImageFloat32 img,
java.util.Random rand,
float min,
float 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 |
fillUniform(ImageFloat64 img,
java.util.Random rand,
double min,
double 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 |
fillUniform(ImageInt16 img,
java.util.Random rand,
int min,
int 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 |
fillUniform(ImageInt8 img,
java.util.Random rand,
int min,
int 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 |
fillUniform(ImageSInt32 img,
java.util.Random rand,
int min,
int 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 |
fillUniform(ImageSInt64 img,
java.util.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 |
fillUniform(InterleavedF32 img,
java.util.Random rand,
float min,
float 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 |
fillUniform(InterleavedF64 img,
java.util.Random rand,
double min,
double 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 |
fillUniform(InterleavedI16 img,
java.util.Random rand,
int min,
int 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 |
fillUniform(InterleavedI8 img,
java.util.Random rand,
int min,
int 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 |
fillUniform(InterleavedS32 img,
java.util.Random rand,
int min,
int 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 |
fillUniform(InterleavedS64 img,
java.util.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 |
flipHorizontal(ImageFloat32 input)
Flips the image from left to right
|
static void |
flipHorizontal(ImageFloat64 input)
Flips the image from left to right
|
static void |
flipHorizontal(ImageInt16 input)
Flips the image from left to right
|
static void |
flipHorizontal(ImageInt8 input)
Flips the image from left to right
|
static void |
flipHorizontal(ImageSInt32 input)
Flips the image from left to right
|
static void |
flipHorizontal(ImageSInt64 input)
Flips the image from left to right
|
static void |
flipVertical(ImageFloat32 input)
Flips the image from top to bottom
|
static void |
flipVertical(ImageFloat64 input)
Flips the image from top to bottom
|
static void |
flipVertical(ImageInt16 input)
Flips the image from top to bottom
|
static void |
flipVertical(ImageInt8 input)
Flips the image from top to bottom
|
static void |
flipVertical(ImageSInt32 input)
Flips the image from top to bottom
|
static void |
flipVertical(ImageSInt64 input)
Flips the image from top to bottom
|
static void |
insertBand(ImageFloat32 input,
int band,
InterleavedF32 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(ImageFloat64 input,
int band,
InterleavedF64 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(ImageInt16 input,
int band,
InterleavedI16 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(ImageInt8 input,
int band,
InterleavedI8 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(ImageSInt32 input,
int band,
InterleavedS32 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(ImageSInt64 input,
int band,
InterleavedS64 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
rotateCCW(ImageFloat32 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(ImageFloat32 input,
ImageFloat32 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(ImageFloat64 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(ImageFloat64 input,
ImageFloat64 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(ImageInt16 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(ImageInt16 input,
ImageInt16 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(ImageInt8 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(ImageInt8 input,
ImageInt8 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(ImageSInt32 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(ImageSInt32 input,
ImageSInt32 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(ImageSInt64 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(ImageSInt64 input,
ImageSInt64 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCW(ImageFloat32 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(ImageFloat32 input,
ImageFloat32 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(ImageFloat64 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(ImageFloat64 input,
ImageFloat64 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(ImageInt16 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(ImageInt16 input,
ImageInt16 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(ImageInt8 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(ImageInt8 input,
ImageInt8 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(ImageSInt32 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(ImageSInt32 input,
ImageSInt32 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(ImageSInt64 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(ImageSInt64 input,
ImageSInt64 output)
Rotates the image 90 degrees in the clockwise direction.
|
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageInt8 input,
ImageInt8 output)
srcX - x-coordinate of corner in input imagesrcY - y-coordinate of corner in input imagedstX - x-coordinate of corner in output imagedstY - y-coordinate of corner in output imagewidth - Width of region to be copiedheight - Height of region to be copiedinput - Input imageoutput - output imagepublic static void fill(ImageInt8 input, int value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedI8 input, int value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedI8 input, int[] values)
input - An image.values - Array which contains the values each band is to be filled with.public static void fillBand(InterleavedI8 input, int band, int value)
input - An image.band - Which band is to be filled with the specified valuevalue - The value that the image is being filled with.public static void insertBand(ImageInt8 input, int band, InterleavedI8 output)
input - Single band imageband - Which band the image is to be inserted intooutput - The multi-band image which the input image is to be inserted intopublic static void fillBorder(ImageInt8 input, int value, int radius)
input - An image.value - The value that the image is being filled with.radius - Border width.public static void fillRectangle(ImageInt8 img, int value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillRectangle(InterleavedI8 img, byte value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillUniform(ImageInt8 img, java.util.Random rand, int min, int max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillUniform(InterleavedI8 img, java.util.Random rand, int min, int max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillGaussian(ImageInt8 input, java.util.Random rand, double mean, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void fillGaussian(InterleavedI8 input, java.util.Random rand, double mean, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void flipVertical(ImageInt8 input)
public static void flipHorizontal(ImageInt8 input)
public static void rotateCW(ImageInt8 image)
public static void rotateCW(ImageInt8 input, ImageInt8 output)
public static void rotateCCW(ImageInt8 image)
public static void rotateCCW(ImageInt8 input, ImageInt8 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageInt16 input,
ImageInt16 output)
srcX - x-coordinate of corner in input imagesrcY - y-coordinate of corner in input imagedstX - x-coordinate of corner in output imagedstY - y-coordinate of corner in output imagewidth - Width of region to be copiedheight - Height of region to be copiedinput - Input imageoutput - output imagepublic static void fill(ImageInt16 input, int value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedI16 input, int value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedI16 input, int[] values)
input - An image.values - Array which contains the values each band is to be filled with.public static void fillBand(InterleavedI16 input, int band, int value)
input - An image.band - Which band is to be filled with the specified valuevalue - The value that the image is being filled with.public static void insertBand(ImageInt16 input, int band, InterleavedI16 output)
input - Single band imageband - Which band the image is to be inserted intooutput - The multi-band image which the input image is to be inserted intopublic static void fillBorder(ImageInt16 input, int value, int radius)
input - An image.value - The value that the image is being filled with.radius - Border width.public static void fillRectangle(ImageInt16 img, int value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillRectangle(InterleavedI16 img, short value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillUniform(ImageInt16 img, java.util.Random rand, int min, int max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillUniform(InterleavedI16 img, java.util.Random rand, int min, int max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillGaussian(ImageInt16 input, java.util.Random rand, double mean, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void fillGaussian(InterleavedI16 input, java.util.Random rand, double mean, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void flipVertical(ImageInt16 input)
public static void flipHorizontal(ImageInt16 input)
public static void rotateCW(ImageInt16 image)
public static void rotateCW(ImageInt16 input, ImageInt16 output)
public static void rotateCCW(ImageInt16 image)
public static void rotateCCW(ImageInt16 input, ImageInt16 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageSInt32 input,
ImageSInt32 output)
srcX - x-coordinate of corner in input imagesrcY - y-coordinate of corner in input imagedstX - x-coordinate of corner in output imagedstY - y-coordinate of corner in output imagewidth - Width of region to be copiedheight - Height of region to be copiedinput - Input imageoutput - output imagepublic static void fill(ImageSInt32 input, int value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedS32 input, int value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedS32 input, int[] values)
input - An image.values - Array which contains the values each band is to be filled with.public static void fillBand(InterleavedS32 input, int band, int value)
input - An image.band - Which band is to be filled with the specified valuevalue - The value that the image is being filled with.public static void insertBand(ImageSInt32 input, int band, InterleavedS32 output)
input - Single band imageband - Which band the image is to be inserted intooutput - The multi-band image which the input image is to be inserted intopublic static void fillBorder(ImageSInt32 input, int value, int radius)
input - An image.value - The value that the image is being filled with.radius - Border width.public static void fillRectangle(ImageSInt32 img, int value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillRectangle(InterleavedS32 img, int value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillUniform(ImageSInt32 img, java.util.Random rand, int min, int max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillUniform(InterleavedS32 img, java.util.Random rand, int min, int max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillGaussian(ImageSInt32 input, java.util.Random rand, double mean, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void fillGaussian(InterleavedS32 input, java.util.Random rand, double mean, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void flipVertical(ImageSInt32 input)
public static void flipHorizontal(ImageSInt32 input)
public static void rotateCW(ImageSInt32 image)
public static void rotateCW(ImageSInt32 input, ImageSInt32 output)
public static void rotateCCW(ImageSInt32 image)
public static void rotateCCW(ImageSInt32 input, ImageSInt32 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageSInt64 input,
ImageSInt64 output)
srcX - x-coordinate of corner in input imagesrcY - y-coordinate of corner in input imagedstX - x-coordinate of corner in output imagedstY - y-coordinate of corner in output imagewidth - Width of region to be copiedheight - Height of region to be copiedinput - Input imageoutput - output imagepublic static void fill(ImageSInt64 input, long value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedS64 input, long value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedS64 input, long[] values)
input - An image.values - Array which contains the values each band is to be filled with.public static void fillBand(InterleavedS64 input, int band, long value)
input - An image.band - Which band is to be filled with the specified valuevalue - The value that the image is being filled with.public static void insertBand(ImageSInt64 input, int band, InterleavedS64 output)
input - Single band imageband - Which band the image is to be inserted intooutput - The multi-band image which the input image is to be inserted intopublic static void fillBorder(ImageSInt64 input, long value, int radius)
input - An image.value - The value that the image is being filled with.radius - Border width.public static void fillRectangle(ImageSInt64 img, long value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillRectangle(InterleavedS64 img, long value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillUniform(ImageSInt64 img, java.util.Random rand, long min, long max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillUniform(InterleavedS64 img, java.util.Random rand, long min, long max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, exclusivepublic static void fillGaussian(ImageSInt64 input, java.util.Random rand, double mean, double sigma, long lowerBound, long upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void fillGaussian(InterleavedS64 input, java.util.Random rand, double mean, double sigma, long lowerBound, long upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void flipVertical(ImageSInt64 input)
public static void flipHorizontal(ImageSInt64 input)
public static void rotateCW(ImageSInt64 image)
public static void rotateCW(ImageSInt64 input, ImageSInt64 output)
public static void rotateCCW(ImageSInt64 image)
public static void rotateCCW(ImageSInt64 input, ImageSInt64 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageFloat32 input,
ImageFloat32 output)
srcX - x-coordinate of corner in input imagesrcY - y-coordinate of corner in input imagedstX - x-coordinate of corner in output imagedstY - y-coordinate of corner in output imagewidth - Width of region to be copiedheight - Height of region to be copiedinput - Input imageoutput - output imagepublic static void fill(ImageFloat32 input, float value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedF32 input, float value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedF32 input, float[] values)
input - An image.values - Array which contains the values each band is to be filled with.public static void fillBand(InterleavedF32 input, int band, float value)
input - An image.band - Which band is to be filled with the specified valuevalue - The value that the image is being filled with.public static void insertBand(ImageFloat32 input, int band, InterleavedF32 output)
input - Single band imageband - Which band the image is to be inserted intooutput - The multi-band image which the input image is to be inserted intopublic static void fillBorder(ImageFloat32 input, float value, int radius)
input - An image.value - The value that the image is being filled with.radius - Border width.public static void fillRectangle(ImageFloat32 img, float value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillRectangle(InterleavedF32 img, float value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillUniform(ImageFloat32 img, java.util.Random rand, float min, float max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, inclusivepublic static void fillUniform(InterleavedF32 img, java.util.Random rand, float min, float max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, inclusivepublic static void fillGaussian(ImageFloat32 input, java.util.Random rand, double mean, double sigma, float lowerBound, float upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void fillGaussian(InterleavedF32 input, java.util.Random rand, double mean, double sigma, float lowerBound, float upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void flipVertical(ImageFloat32 input)
public static void flipHorizontal(ImageFloat32 input)
public static void rotateCW(ImageFloat32 image)
public static void rotateCW(ImageFloat32 input, ImageFloat32 output)
public static void rotateCCW(ImageFloat32 image)
public static void rotateCCW(ImageFloat32 input, ImageFloat32 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
ImageFloat64 input,
ImageFloat64 output)
srcX - x-coordinate of corner in input imagesrcY - y-coordinate of corner in input imagedstX - x-coordinate of corner in output imagedstY - y-coordinate of corner in output imagewidth - Width of region to be copiedheight - Height of region to be copiedinput - Input imageoutput - output imagepublic static void fill(ImageFloat64 input, double value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedF64 input, double value)
input - An image.value - The value that the image is being filled with.public static void fill(InterleavedF64 input, double[] values)
input - An image.values - Array which contains the values each band is to be filled with.public static void fillBand(InterleavedF64 input, int band, double value)
input - An image.band - Which band is to be filled with the specified valuevalue - The value that the image is being filled with.public static void insertBand(ImageFloat64 input, int band, InterleavedF64 output)
input - Single band imageband - Which band the image is to be inserted intooutput - The multi-band image which the input image is to be inserted intopublic static void fillBorder(ImageFloat64 input, double value, int radius)
input - An image.value - The value that the image is being filled with.radius - Border width.public static void fillRectangle(ImageFloat64 img, double value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillRectangle(InterleavedF64 img, double value, int x0, int y0, int width, int height)
img - Image the rectangle is drawn in. Modifiedvalue - Value of the rectanglex0 - Top left x-coordinatey0 - Top left y-coordinatewidth - Rectangle widthheight - Rectangle heightpublic static void fillUniform(ImageFloat64 img, java.util.Random rand, double min, double max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, inclusivepublic static void fillUniform(InterleavedF64 img, java.util.Random rand, double min, double max)
img - Image which is to be filled. Modified,rand - Random number generatormin - Minimum value of the distribution, inclusivemax - Maximum value of the distribution, inclusivepublic static void fillGaussian(ImageFloat64 input, java.util.Random rand, double mean, double sigma, double lowerBound, double upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void fillGaussian(InterleavedF64 input, java.util.Random rand, double mean, double sigma, double lowerBound, double upperBound)
input - Input image. Modified.rand - Random number generatormean - Distribution's mean.sigma - Distribution's standard deviation.lowerBound - Lower bound of value clipupperBound - Upper bound of value clippublic static void flipVertical(ImageFloat64 input)
public static void flipHorizontal(ImageFloat64 input)
public static void rotateCW(ImageFloat64 image)
public static void rotateCW(ImageFloat64 input, ImageFloat64 output)
public static void rotateCCW(ImageFloat64 image)
public static void rotateCCW(ImageFloat64 input, ImageFloat64 output)
public static void addUniform(ImageUInt8 input, java.util.Random rand, int min, int max)
public static void addUniform(InterleavedU8 input, java.util.Random rand, int min, int max)
public static void addGaussian(ImageUInt8 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedU8 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addUniform(ImageSInt8 input, java.util.Random rand, int min, int max)
public static void addUniform(InterleavedS8 input, java.util.Random rand, int min, int max)
public static void addGaussian(ImageSInt8 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedS8 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addUniform(ImageUInt16 input, java.util.Random rand, int min, int max)
public static void addUniform(InterleavedU16 input, java.util.Random rand, int min, int max)
public static void addGaussian(ImageUInt16 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedU16 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addUniform(ImageSInt16 input, java.util.Random rand, int min, int max)
public static void addUniform(InterleavedS16 input, java.util.Random rand, int min, int max)
public static void addGaussian(ImageSInt16 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedS16 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addUniform(ImageSInt32 input, java.util.Random rand, int min, int max)
public static void addUniform(InterleavedS32 input, java.util.Random rand, int min, int max)
public static void addGaussian(ImageSInt32 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedS32 input, java.util.Random rand, double sigma, int lowerBound, int upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addUniform(ImageSInt64 input, java.util.Random rand, long min, long max)
public static void addUniform(InterleavedS64 input, java.util.Random rand, long min, long max)
public static void addGaussian(ImageSInt64 input, java.util.Random rand, double sigma, long lowerBound, long upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedS64 input, java.util.Random rand, double sigma, long lowerBound, long upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addUniform(ImageFloat32 input, java.util.Random rand, float min, float max)
public static void addUniform(InterleavedF32 input, java.util.Random rand, float min, float max)
public static void addGaussian(ImageFloat32 input, java.util.Random rand, double sigma, float lowerBound, float upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedF32 input, java.util.Random rand, double sigma, float lowerBound, float upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addUniform(ImageFloat64 input, java.util.Random rand, double min, double max)
public static void addUniform(InterleavedF64 input, java.util.Random rand, double min, double max)
public static void addGaussian(ImageFloat64 input, java.util.Random rand, double sigma, double lowerBound, double upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper boundpublic static void addGaussian(InterleavedF64 input, java.util.Random rand, double sigma, double lowerBound, double upperBound)
input - Input image. Modified.rand - Random number generator.sigma - Distributions standard deviation.lowerBound - Allowed lower boundupperBound - Allowed upper bound