public class CIEDE2000 extends Object implements ImageCombiner<MBFImage,MBFImage,FImage>
ImageCombiner
to calculate a colour disparity map between
two images.Constructor and Description |
---|
CIEDE2000() |
Modifier and Type | Method and Description |
---|---|
static double |
calculateDeltaE(double[] lab1,
double[] lab2)
Calculate the colour difference value between two colours in lab space.
|
static double |
calculateDeltaE(double L1,
double a1,
double b1,
double L2,
double a2,
double b2)
Calculate the colour difference value between two colours in lab space.
|
static float |
calculateDeltaE(float[] lab1,
float[] lab2)
Calculate the colour difference value between two colours in lab space.
|
static float |
calculateDeltaE(Float[] lab1,
Float[] lab2)
Calculate the colour difference value between two colours in lab space.
|
FImage |
combine(MBFImage image1,
MBFImage image2)
Perform processing that combines the two images into
a single image.
|
static FImage |
makeDisparityMap(MBFImage im1,
MBFImage im2)
Compute the disparity map between two images.
|
public CIEDE2000()
public static double calculateDeltaE(double[] lab1, double[] lab2)
lab1
- first colourlab2
- second colourpublic static float calculateDeltaE(float[] lab1, float[] lab2)
lab1
- first colourlab2
- second colourpublic static float calculateDeltaE(Float[] lab1, Float[] lab2)
lab1
- first colourlab2
- second colourpublic static double calculateDeltaE(double L1, double a1, double b1, double L2, double a2, double b2)
L1
- first colour's L componenta1
- first colour's a componentb1
- first colour's b componentL2
- second colour's L componenta2
- second colour's a componentb2
- second colour's b componentpublic static FImage makeDisparityMap(MBFImage im1, MBFImage im2)
im1
- The first image.im2
- The second image.public FImage combine(MBFImage image1, MBFImage image2)
ImageCombiner
combine
in interface ImageCombiner<MBFImage,MBFImage,FImage>
image1
- the first imageimage2
- the second image