public class ImageDifferenceOperations
extends java.lang.Object
Constructor and Description |
---|
ImageDifferenceOperations() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
calculateAbsDiffImage(java.awt.image.BufferedImage pImage1,
java.awt.image.BufferedImage pImage2)
Calculates the absolute difference between the images.
|
static java.awt.image.BufferedImage |
calculateAbsLumDiffImage(java.awt.image.BufferedImage pImage1,
java.awt.image.BufferedImage pImage2)
Calculates the absolute difference between the luminance images created from the given source images.
|
static java.awt.image.BufferedImage |
calculateAbsLumDiffImage(java.awt.image.BufferedImage pImage1,
java.awt.image.BufferedImage pImage2,
double dMultiplicator)
Calculates the absolute difference between the luminance images created from the given source images and allows
the amplification or alleviation of the difference values by a multiplicator.
|
static java.awt.image.BufferedImage |
calculateLumDiffImage(java.awt.image.BufferedImage pImage1,
java.awt.image.BufferedImage pImage2)
Calculates the difference between the luminance images created from the given source images.
|
public static java.awt.image.BufferedImage calculateAbsDiffImage(java.awt.image.BufferedImage pImage1, java.awt.image.BufferedImage pImage2)
pImage1
- BufferedImage
object representing the first image for the difference operation.pImage2
- BufferedImage
object representing the second image for the difference operation.BufferedImage
object.public static java.awt.image.BufferedImage calculateAbsLumDiffImage(java.awt.image.BufferedImage pImage1, java.awt.image.BufferedImage pImage2)
pImage1
- BufferedImage
object representing the first image for the difference operation.pImage2
- BufferedImage
object representing the second image for the difference operation.BufferedImage
object.public static java.awt.image.BufferedImage calculateAbsLumDiffImage(java.awt.image.BufferedImage pImage1, java.awt.image.BufferedImage pImage2, double dMultiplicator)
pImage1
- BufferedImage
object representing the first image for the difference operation.pImage2
- BufferedImage
object representing the second image for the difference operation.dMultiplicator
- A multiplicator that scales the difference values, to amplify or attenuate the detected differences.BufferedImage
object scaled by a multiplicator.public static java.awt.image.BufferedImage calculateLumDiffImage(java.awt.image.BufferedImage pImage1, java.awt.image.BufferedImage pImage2)
pImage1
- BufferedImage
object representing the first image for the difference operation.pImage2
- BufferedImage
object representing the second image for the difference operation.BufferedImage
object scaled by a multiplicator.