Package gov.nih.mipav.model.algorithms
Class CopyMoveAttackDetection
- java.lang.Object
-
- java.lang.Thread
-
- gov.nih.mipav.model.algorithms.AlgorithmBase
-
- gov.nih.mipav.model.algorithms.CopyMoveAttackDetection
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.awt.event.WindowListener,java.lang.Runnable,java.util.EventListener
public class CopyMoveAttackDetection extends AlgorithmBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classCopyMoveAttackDetection.yxBlockItem
-
Field Summary
Fields Modifier and Type Field Description intblock_size(package private) double[][]buffer(package private) double[]bufferBWintheightModelImageoverlayint[]Q_8x8(package private) doubleqf(package private) intshift_threshintstrideintwidth-
Fields inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
destFlag, destImage, image25D, mask, maxProgressValue, minProgressValue, multiThreadingEnabled, nthreads, progress, progressModulus, progressStep, runningInSeparateThread, separable, srcImage, threadStopped
-
-
Constructor Summary
Constructors Constructor Description CopyMoveAttackDetection()CopyMoveAttackDetection(ModelImage destImg, ModelImage srcImg, int block_size, int stride, double qf, int shift_thresh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrunAlgorithm()Actually runs the algorithm.-
Methods inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
actionPerformed, addListener, addProgressChangeListener, calculateImageSize, calculatePrincipleAxis, computeElapsedTime, computeElapsedTime, convertIntoFloat, delinkProgressToAlgorithm, delinkProgressToAlgorithmMulti, displayError, errorCleanUp, finalize, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, generateProgressValues, getDestImage, getElapsedTime, getMask, getMaxProgressValue, getMinProgressValue, getNumberOfThreads, getProgress, getProgressChangeListener, getProgressChangeListeners, getProgressModulus, getProgressStep, getProgressValues, getSrcImage, isCompleted, isImage25D, isMultiThreadingEnabled, isRunningInSeparateThread, isThreadStopped, linkProgressToAlgorithm, linkProgressToAlgorithm, makeProgress, notifyListeners, removeListener, removeProgressChangeListener, run, setCompleted, setImage25D, setMask, setMaxProgressValue, setMinProgressValue, setMultiThreadingEnabled, setNumberOfThreads, setProgress, setProgressModulus, setProgressStep, setProgressValues, setProgressValues, setRunningInSeparateThread, setSrcImage, setStartTime, setThreadStopped, startMethod, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
width
public int width
-
height
public int height
-
block_size
public int block_size
-
stride
public int stride
-
overlay
public ModelImage overlay
-
qf
double qf
-
shift_thresh
int shift_thresh
-
Q_8x8
public int[] Q_8x8
-
bufferBW
double[] bufferBW
-
buffer
double[][] buffer
-
-
Constructor Detail
-
CopyMoveAttackDetection
public CopyMoveAttackDetection()
-
CopyMoveAttackDetection
public CopyMoveAttackDetection(ModelImage destImg, ModelImage srcImg, int block_size, int stride, double qf, int shift_thresh)
-
-
Method Detail
-
runAlgorithm
public void runAlgorithm()
Description copied from class:AlgorithmBaseActually runs the algorithm. Implemented by inheriting algorithms.- Specified by:
runAlgorithmin classAlgorithmBase
-
-