Package gov.nih.mipav.model.algorithms
Class CopyMoveAttackDetection2.ImageObject
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CopyMoveAttackDetection2.ImageObject
-
- Enclosing class:
- CopyMoveAttackDetection2
class CopyMoveAttackDetection2.ImageObject extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CopyMoveAttackDetection2.ImageObject.KeyComparator
-
Field Summary
Fields Modifier and Type Field Description (package private) int
block_dimension
(package private) CopyMoveAttackDetection2.Container
block_pair_container
(package private) CopyMoveAttackDetection2.Configuration
configuration
(package private) CopyMoveAttackDetection2.Container
features_container
(package private) int[]
image_data
(package private) int[]
image_grayscale
(package private) int
image_height
(package private) int
image_width
(package private) boolean
is_rgb_image
(package private) int
N
(package private) int
Nb
(package private) int
Nd
(package private) int
Nf
(package private) int
Nn
(package private) java.util.Map<java.lang.String,java.util.ArrayList<int[]>>
offset_dictionary
(package private) double[]
P
(package private) double
t1
(package private) double
t2
(package private) boolean
verbose
-
Constructor Summary
Constructors Constructor Description ImageObject(CopyMoveAttackDetection2.Configuration configuration, boolean verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add_dictionary(int[] first_coordinate, int[] second_coordinate, int[] pair_offset)
void
analyze()
void
compute()
(package private) int[]
is_valid(int first_block, int second_block, boolean[] valid)
void
reconstruct()
void
run()
void
sort()
-
-
-
Field Detail
-
configuration
CopyMoveAttackDetection2.Configuration configuration
-
verbose
boolean verbose
-
image_width
int image_width
-
image_height
int image_height
-
is_rgb_image
boolean is_rgb_image
-
image_data
int[] image_data
-
image_grayscale
int[] image_grayscale
-
N
int N
-
block_dimension
int block_dimension
-
Nb
int Nb
-
Nn
int Nn
-
Nf
int Nf
-
Nd
int Nd
-
P
double[] P
-
t1
double t1
-
t2
double t2
-
features_container
CopyMoveAttackDetection2.Container features_container
-
block_pair_container
CopyMoveAttackDetection2.Container block_pair_container
-
offset_dictionary
java.util.Map<java.lang.String,java.util.ArrayList<int[]>> offset_dictionary
-
-
Constructor Detail
-
ImageObject
public ImageObject(CopyMoveAttackDetection2.Configuration configuration, boolean verbose)
-
-
Method Detail
-
run
public void run()
-
compute
public void compute()
-
sort
public void sort()
-
analyze
public void analyze()
-
is_valid
int[] is_valid(int first_block, int second_block, boolean[] valid)
-
add_dictionary
public void add_dictionary(int[] first_coordinate, int[] second_coordinate, int[] pair_offset)
-
reconstruct
public void reconstruct()
-
-