public class MirrorImage<T extends Type<T>> extends Object implements Algorithm, Benchmark, MultiThreaded
Constructor and Description |
---|
MirrorImage(Image<T> image,
int dimension) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
int |
getNumThreads()
The number of threads used by the algorithm
|
long |
getProcessingTime() |
boolean |
process() |
void |
setNumThreads()
Sets the number of threads to the amount of processors available
|
void |
setNumThreads(int numThreads)
Sets the number of threads
|
public boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
public long getProcessingTime()
getProcessingTime
in interface Benchmark
public int getNumThreads()
MultiThreaded
getNumThreads
in interface MultiThreaded
public void setNumThreads()
MultiThreaded
setNumThreads
in interface MultiThreaded
public void setNumThreads(int numThreads)
MultiThreaded
setNumThreads
in interface MultiThreaded
numThreads
- - number of threads to useCopyright © 2015–2021 Fiji. All rights reserved.