|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGiciAnalysis.ImageCompare
public class ImageCompare
This class receives two images and calculates its difference information (MSE and PSNR).
Field Summary | |
---|---|
(package private) boolean[] |
equal
Equality for each image component. |
(package private) float[] |
mae
Mean Absolute Error (MAE) for each image component. |
(package private) float[] |
me
Mean Error (ME) for each image component. |
(package private) float[] |
mse
Mean Squared Error (MSE) for each image component. |
(package private) float[] |
pae
Peak Absolute Error (MAE) for each image component. |
(package private) float[] |
psnr
Peak Signal to Noise Ratio (PSNR) for each image component. |
(package private) float[] |
rmse
Root Mean Squared Error (MSE) for each image component. |
(package private) float[] |
snr
Signal to Noise Ratio (PSNR) for each image component. |
(package private) boolean |
totalEQUAL
Global equality of the image. |
(package private) float |
totalMAE
Global Mean Absolute Error (MSE) of the image. |
(package private) float |
totalME
Global Mean Error (MSE) of the image. |
(package private) float |
totalMSE
Global Mean Squared Error (MSE) of the image. |
(package private) float |
totalPAE
Global Peak Absolute Error (MSE) of the image. |
(package private) float |
totalPSNR
Global Peak Signal to Noise Ratio (PSNR) of the image. |
(package private) float |
totalRMSE
Global Root Mean Squared Error (MSE) of the image. |
(package private) float |
totalSNR
Global Signal to Noise Ratio (PSNR) of the image. |
Constructor Summary | |
---|---|
ImageCompare(float[][][] image1,
float[][][] image2,
int[] pixelBitDepth)
Constructor that does all the operations to compare images. |
Method Summary | |
---|---|
boolean[] |
getEQUAL()
|
float[] |
getMAE()
|
float[] |
getME()
|
float[] |
getMSE()
|
float[] |
getPAE()
|
float[] |
getPSNR()
|
float[] |
getRMSE()
|
float[] |
getSNR()
|
boolean |
getTotalEQUAL()
|
float |
getTotalMAE()
|
float |
getTotalME()
|
float |
getTotalMSE()
|
float |
getTotalPAE()
|
float |
getTotalPSNR()
|
float |
getTotalRMSE()
|
float |
getTotalSNR()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
float[] mae
Only positive values allowed.
float totalMAE
Only positive values allowed.
float[] pae
Only positive values allowed.
float totalPAE
Only positive values allowed.
float[] mse
Only positive values allowed.
float totalMSE
Only positive values allowed.
float[] rmse
Only positive values allowed.
float totalRMSE
Only positive values allowed.
float[] me
All values allowed.
float totalME
Only positive values allowed.
float[] snr
Only positive values allowed.
float totalSNR
Only positive values allowed.
float[] psnr
Only positive values allowed.
float totalPSNR
Only positive values allowed.
boolean[] equal
True or false.
boolean totalEQUAL
True or false.
Constructor Detail |
---|
public ImageCompare(float[][][] image1, float[][][] image2, int[] pixelBitDepth) throws WarningException
image1
- a 3D float array of image samples (index are [z][y][x])image2
- a 3D float array of image samples (index are [z][y][x])pixelBitDepth
- number of bits for the specified image sample type (for each component)
WarningException
- when image sizes are not the sameMethod Detail |
---|
public float[] getMAE()
public float getTotalMAE()
public float[] getPAE()
public float getTotalPAE()
public float[] getMSE()
public float getTotalMSE()
public float[] getRMSE()
public float getTotalRMSE()
public float[] getME()
public float getTotalME()
public float[] getSNR()
public float getTotalSNR()
public float[] getPSNR()
public float getTotalPSNR()
public boolean[] getEQUAL()
public boolean getTotalEQUAL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |