public class ImageMiscOps
extends java.lang.Object
DO NOT MODIFY: Generated by GenerateImageMiscOps.
| Constructor and Description |
|---|
ImageMiscOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addGaussian(GrayF32 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(GrayF64 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(GrayS16 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(GrayS32 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(GrayS64 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(GrayS8 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(GrayU16 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(GrayU8 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(GrayF32 input,
java.util.Random rand,
float min,
float max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(GrayF64 input,
java.util.Random rand,
double min,
double max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(GrayS16 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(GrayS32 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(GrayS64 input,
java.util.Random rand,
long min,
long max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(GrayS8 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(GrayU16 input,
java.util.Random rand,
int min,
int max)
Adds uniform i.i.d noise to each pixel in the image.
|
static void |
addUniform(GrayU8 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,
GrayF32 input,
GrayF32 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,
GrayF64 input,
GrayF64 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,
GrayI16 input,
GrayI16 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,
GrayI8 input,
GrayI8 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,
GrayS32 input,
GrayS32 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,
GrayS64 input,
GrayS64 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(GrayF32 input,
float value)
Fills the whole image with the specified value
|
static void |
fill(GrayF64 input,
double value)
Fills the whole image with the specified value
|
static void |
fill(GrayI16 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(GrayI8 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(GrayS32 input,
int value)
Fills the whole image with the specified value
|
static void |
fill(GrayS64 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(GrayF32 input,
float value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(GrayF64 input,
double value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(GrayI16 input,
int value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(GrayI8 input,
int value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(GrayS32 input,
int value,
int radius)
Fills the outside border with the specified value
|
static void |
fillBorder(GrayS64 input,
long value,
int radius)
Fills the outside border with the specified value
|
static void |
fillGaussian(GrayF32 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(GrayF64 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(GrayI16 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(GrayI8 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(GrayS32 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(GrayS64 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(GrayF32 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(GrayF64 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(GrayI16 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(GrayI8 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(GrayS32 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(GrayS64 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(GrayF32 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(GrayF64 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(GrayI16 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(GrayI8 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(GrayS32 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(GrayS64 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(GrayF32 input)
Flips the image from left to right
|
static void |
flipHorizontal(GrayF64 input)
Flips the image from left to right
|
static void |
flipHorizontal(GrayI16 input)
Flips the image from left to right
|
static void |
flipHorizontal(GrayI8 input)
Flips the image from left to right
|
static void |
flipHorizontal(GrayS32 input)
Flips the image from left to right
|
static void |
flipHorizontal(GrayS64 input)
Flips the image from left to right
|
static void |
flipVertical(GrayF32 input)
Flips the image from top to bottom
|
static void |
flipVertical(GrayF64 input)
Flips the image from top to bottom
|
static void |
flipVertical(GrayI16 input)
Flips the image from top to bottom
|
static void |
flipVertical(GrayI8 input)
Flips the image from top to bottom
|
static void |
flipVertical(GrayS32 input)
Flips the image from top to bottom
|
static void |
flipVertical(GrayS64 input)
Flips the image from top to bottom
|
static void |
insertBand(GrayF32 input,
int band,
InterleavedF32 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(GrayF64 input,
int band,
InterleavedF64 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(GrayI16 input,
int band,
InterleavedI16 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(GrayI8 input,
int band,
InterleavedI8 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(GrayS32 input,
int band,
InterleavedS32 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
insertBand(GrayS64 input,
int band,
InterleavedS64 output)
Inserts a single band into into one of the bands in a multi-band image
|
static void |
rotateCCW(GrayF32 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(GrayF32 input,
GrayF32 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(GrayF64 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(GrayF64 input,
GrayF64 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(GrayI16 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(GrayI16 input,
GrayI16 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(GrayI8 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(GrayI8 input,
GrayI8 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(GrayS32 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(GrayS32 input,
GrayS32 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCCW(GrayS64 image)
In-place 90 degree image rotation in the counter-clockwise direction.
|
static void |
rotateCCW(GrayS64 input,
GrayS64 output)
Rotates the image 90 degrees in the counter-clockwise direction.
|
static void |
rotateCW(GrayF32 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(GrayF32 input,
GrayF32 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(GrayF64 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(GrayF64 input,
GrayF64 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(GrayI16 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(GrayI16 input,
GrayI16 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(GrayI8 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(GrayI8 input,
GrayI8 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(GrayS32 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(GrayS32 input,
GrayS32 output)
Rotates the image 90 degrees in the clockwise direction.
|
static void |
rotateCW(GrayS64 image)
In-place 90 degree image rotation in the clockwise direction.
|
static void |
rotateCW(GrayS64 input,
GrayS64 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,
GrayI8 input,
GrayI8 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(GrayI8 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(GrayI8 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(GrayI8 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(GrayI8 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(GrayI8 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(GrayI8 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(GrayI8 input)
public static void flipHorizontal(GrayI8 input)
public static void rotateCW(GrayI8 image)
public static void rotateCW(GrayI8 input, GrayI8 output)
public static void rotateCCW(GrayI8 image)
public static void rotateCCW(GrayI8 input, GrayI8 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
GrayI16 input,
GrayI16 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(GrayI16 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(GrayI16 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(GrayI16 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(GrayI16 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(GrayI16 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(GrayI16 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(GrayI16 input)
public static void flipHorizontal(GrayI16 input)
public static void rotateCW(GrayI16 image)
public static void rotateCW(GrayI16 input, GrayI16 output)
public static void rotateCCW(GrayI16 image)
public static void rotateCCW(GrayI16 input, GrayI16 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
GrayS32 input,
GrayS32 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(GrayS32 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(GrayS32 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(GrayS32 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(GrayS32 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(GrayS32 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(GrayS32 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(GrayS32 input)
public static void flipHorizontal(GrayS32 input)
public static void rotateCW(GrayS32 image)
public static void rotateCW(GrayS32 input, GrayS32 output)
public static void rotateCCW(GrayS32 image)
public static void rotateCCW(GrayS32 input, GrayS32 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
GrayS64 input,
GrayS64 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(GrayS64 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(GrayS64 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(GrayS64 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(GrayS64 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(GrayS64 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(GrayS64 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(GrayS64 input)
public static void flipHorizontal(GrayS64 input)
public static void rotateCW(GrayS64 image)
public static void rotateCW(GrayS64 input, GrayS64 output)
public static void rotateCCW(GrayS64 image)
public static void rotateCCW(GrayS64 input, GrayS64 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
GrayF32 input,
GrayF32 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(GrayF32 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(GrayF32 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(GrayF32 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(GrayF32 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(GrayF32 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(GrayF32 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(GrayF32 input)
public static void flipHorizontal(GrayF32 input)
public static void rotateCW(GrayF32 image)
public static void rotateCW(GrayF32 input, GrayF32 output)
public static void rotateCCW(GrayF32 image)
public static void rotateCCW(GrayF32 input, GrayF32 output)
public static void copy(int srcX,
int srcY,
int dstX,
int dstY,
int width,
int height,
GrayF64 input,
GrayF64 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(GrayF64 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(GrayF64 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(GrayF64 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(GrayF64 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(GrayF64 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(GrayF64 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(GrayF64 input)
public static void flipHorizontal(GrayF64 input)
public static void rotateCW(GrayF64 image)
public static void rotateCW(GrayF64 input, GrayF64 output)
public static void rotateCCW(GrayF64 image)
public static void rotateCCW(GrayF64 input, GrayF64 output)
public static void addUniform(GrayU8 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(GrayU8 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(GrayS8 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(GrayS8 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(GrayU16 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(GrayU16 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(GrayS16 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(GrayS16 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(GrayS32 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(GrayS32 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(GrayS64 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(GrayS64 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(GrayF32 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(GrayF32 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(GrayF64 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(GrayF64 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