T - public class MaxProjection<T extends Comparable<T> & Type<T>> extends Object implements OutputAlgorithm<T>, Benchmark, MultiThreaded
| Constructor and Description |
|---|
MaxProjection(Image<T> image,
int dim) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
int |
getNumThreads()
The number of threads used by the algorithm
|
long |
getProcessingTime() |
Image<T> |
getResult() |
boolean |
process()
Get projection along the smallest dimension (which is usually the rotation axis)
|
void |
setNumThreads()
Sets the number of threads to the amount of processors available
|
void |
setNumThreads(int numThreads)
Sets the number of threads
|
public boolean process()
public boolean checkInput()
checkInput in interface Algorithmpublic void setNumThreads()
MultiThreadedsetNumThreads in interface MultiThreadedpublic void setNumThreads(int numThreads)
MultiThreadedsetNumThreads in interface MultiThreadednumThreads - - number of threads to usepublic int getNumThreads()
MultiThreadedgetNumThreads in interface MultiThreadedpublic String getErrorMessage()
getErrorMessage in interface Algorithmpublic long getProcessingTime()
getProcessingTime in interface Benchmarkpublic Image<T> getResult()
getResult in interface OutputAlgorithm<T extends Comparable<T> & Type<T>>Copyright © 2015–2021 Fiji. All rights reserved.