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 Algorithmpublic String getErrorMessage()
getErrorMessage in interface Algorithmpublic long getProcessingTime()
getProcessingTime in interface Benchmarkpublic int getNumThreads()
MultiThreadedgetNumThreads in interface MultiThreadedpublic void setNumThreads()
MultiThreadedsetNumThreads in interface MultiThreadedpublic void setNumThreads(int numThreads)
MultiThreadedsetNumThreads in interface MultiThreadednumThreads - - number of threads to useCopyright © 2015–2021 Fiji. All rights reserved.