public final class NRGBIP extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.neurotec.images.NImage |
adjustBrightnessContrast(com.neurotec.images.NImage image,
double brightness,
double contrast)
Sets brightness and contrast values of the specified image to specified values and writes the result to a new image.
|
static com.neurotec.images.NImage |
adjustBrightnessContrast(com.neurotec.images.NImage image,
double redBrightness,
double redContrast,
double greenBrightness,
double greenContrast,
double blueBrightness,
double blueContrast)
Sets brightness and contrast values of separate colors of the specified image to specified values and writes the result to a new image.
|
static void |
adjustBrightnessContrast(com.neurotec.images.NImage image,
com.neurotec.images.NImage dstImage,
double brightness,
double contrast)
Sets brightness and contrast values of the specified image to specified values and writes the result to another specified image.
|
static void |
adjustBrightnessContrast(com.neurotec.images.NImage image,
com.neurotec.images.NImage dstImage,
double redBrightness,
double redContrast,
double greenBrightness,
double greenContrast,
double blueBrightness,
double blueContrast)
Sets brightness and contrast values of separate colors of the specified image to specified values and writes the result to another specified image.
|
static void |
adjustBrightnessContrastSame(com.neurotec.images.NImage image,
double brightness,
double contrast)
Sets brightness and contrast values of the specified image to specified values and writes the result to the same image.
|
static void |
adjustBrightnessContrastSame(com.neurotec.images.NImage image,
double redBrightness,
double redContrast,
double greenBrightness,
double greenContrast,
double blueBrightness,
double blueContrast)
Sets brightness and contrast values of separate colors of the specified image to specified values and writes the result to the same image.
|
static com.neurotec.images.NImage |
alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double alpha)
Alpha-blends two specified images with specified alpha value and writes the result to a new image.
|
static com.neurotec.images.NImage |
alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double[] colorMatrix)
Alpha-blends two specified images with specified color matrix and writes the result to a new image.
|
static void |
alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double[] colorMatrix,
com.neurotec.images.NImage resultImage)
Alpha-blends two specified images with specified color matrix and writes the result to another specified image.
|
static com.neurotec.images.NImage |
alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double r,
double g,
double b,
double a)
Alpha-blends two specified images with specified alpha and RGB values and writes the result to a new image.
|
static void |
alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double r,
double g,
double b,
double a,
com.neurotec.images.NImage resultImage)
Alpha-blends two specified images with specified alpha and RGB values and writes the result to another specified image.
|
static void |
alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double alpha,
com.neurotec.images.NImage resultImage)
Alpha-blends two specified images with specified alpha value and writes the result to another specified image.
|
static void |
alphaBlendSame(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double alpha)
Alpha-blends two specified images with specified alpha value and writes the result to the first image.
|
static void |
alphaBlendSame(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double[] colorMatrix)
Alpha-blends two specified images with specified color matrix and writes the result to the first image.
|
static void |
alphaBlendSame(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double r,
double g,
double b,
double a)
Alpha-blends two specified images with specified alpha and RGB values and writes the result to the first image.
|
static com.neurotec.images.NImage |
colorMatrixTransform(com.neurotec.images.NImage image,
double[] colorMatrix)
Sets the color matrix of the specified image to specified value and writes the result to a new image.
|
static void |
colorMatrixTransform(com.neurotec.images.NImage image,
double[] colorMatrix,
com.neurotec.images.NImage resultImage)
Sets the color matrix of the specified image to specified value and writes the result to another specified image.
|
static void |
colorMatrixTransformSame(com.neurotec.images.NImage image,
double[] colorMatrix)
Sets the color matrix of the specified image to specified value and writes the result to the same image.
|
static com.neurotec.images.NImage |
invert(com.neurotec.images.NImage image)
Inverts the colors of a specified RGB image and writes the result into a new image.
|
static void |
invert(com.neurotec.images.NImage image,
com.neurotec.images.NImage dstImage)
Inverts the colors of a specified RGB image and writes the result into another specified image.
|
static void |
invertSame(com.neurotec.images.NImage image)
Inverts the colors of a specified RGB image and writes the result into the same image.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Rertrieves a function which retrieves a NType object for the enclosing type.
|
public static com.neurotec.lang.NType nativeTypeOf()
public static com.neurotec.images.NImage invert(com.neurotec.images.NImage image)
image - The original image.public static void invert(com.neurotec.images.NImage image,
com.neurotec.images.NImage dstImage)
image - The original image.dstImage - The destination image.public static void invertSame(com.neurotec.images.NImage image)
image - The original image.public static com.neurotec.images.NImage adjustBrightnessContrast(com.neurotec.images.NImage image,
double brightness,
double contrast)
image - The original image.brightness - The new brightness value.contrast - The new contrast value.public static void adjustBrightnessContrast(com.neurotec.images.NImage image,
com.neurotec.images.NImage dstImage,
double brightness,
double contrast)
image - The original image.dstImage - The result image.brightness - The new brightness value.contrast - The new contrast value.public static void adjustBrightnessContrastSame(com.neurotec.images.NImage image,
double brightness,
double contrast)
image - The original image.brightness - The new brightness value.contrast - The new contrast value.public static com.neurotec.images.NImage adjustBrightnessContrast(com.neurotec.images.NImage image,
double redBrightness,
double redContrast,
double greenBrightness,
double greenContrast,
double blueBrightness,
double blueContrast)
image - The original image.redBrightness - New brightness value for red color.redContrast - New contrast value for red color.greenBrightness - New brightness value for green color.greenContrast - New contrast value for green color.blueBrightness - New brightness value for blue color.blueContrast - New contrast value for blue color.public static void adjustBrightnessContrast(com.neurotec.images.NImage image,
com.neurotec.images.NImage dstImage,
double redBrightness,
double redContrast,
double greenBrightness,
double greenContrast,
double blueBrightness,
double blueContrast)
image - The original image.dstImage - The result image.redBrightness - New brightness value for red color.redContrast - New contrast value for red color.greenBrightness - New brightness value for green color.greenContrast - New contrast value for green color.blueBrightness - New brightness value for blue color.blueContrast - New contrast value for blue color.public static void adjustBrightnessContrastSame(com.neurotec.images.NImage image,
double redBrightness,
double redContrast,
double greenBrightness,
double greenContrast,
double blueBrightness,
double blueContrast)
image - The original image.redBrightness - New brightness value for red color.redContrast - New contrast value for red color.greenBrightness - New brightness value for green color.greenContrast - New contrast value for green color.blueBrightness - New brightness value for blue color.blueContrast - New contrast value for blue color.public static com.neurotec.images.NImage colorMatrixTransform(com.neurotec.images.NImage image,
double[] colorMatrix)
image - The original image.colorMatrix - The new color matrix value.public static void colorMatrixTransform(com.neurotec.images.NImage image,
double[] colorMatrix,
com.neurotec.images.NImage resultImage)
image - The original image.colorMatrix - The new color matrix value.resultImage - The result image.public static void colorMatrixTransformSame(com.neurotec.images.NImage image,
double[] colorMatrix)
image - The original image.colorMatrix - The new color matrix value.public static com.neurotec.images.NImage alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double alpha)
imageA - The first image.imageB - The second image.alpha - Alpha value.public static void alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double alpha,
com.neurotec.images.NImage resultImage)
imageA - The first image.imageB - The second image.alpha - Alpha value.resultImage - The result image.public static void alphaBlendSame(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double alpha)
imageA - The first image.imageB - The second image.alpha - Alpha value.public static com.neurotec.images.NImage alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double r,
double g,
double b,
double a)
imageA - The first image.imageB - The second image.r - Red value.g - Green value.b - Blue value.a - Alpha value.public static void alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double r,
double g,
double b,
double a,
com.neurotec.images.NImage resultImage)
imageA - The first image.imageB - The second image.r - Red value.g - Green value.b - Blue value.a - Alpha value.resultImage - The result image.public static void alphaBlendSame(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double r,
double g,
double b,
double a)
imageA - The first image.imageB - The second image.r - Red value.g - Green value.b - Blue value.a - Alpha value.public static com.neurotec.images.NImage alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double[] colorMatrix)
imageA - The first image.imageB - The second image.colorMatrix - Color matrix value.public static void alphaBlend(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double[] colorMatrix,
com.neurotec.images.NImage resultImage)
imageA - The first image.imageB - The second image.colorMatrix - Color matrix value.resultImage - The result image.public static void alphaBlendSame(com.neurotec.images.NImage imageA,
com.neurotec.images.NImage imageB,
double[] colorMatrix)
imageA - The first image.imageB - The second image.colorMatrix - Color matrix value.Copyright © 2016 Neurotechnology. All rights reserved.