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 Algorithm
public void setNumThreads()
MultiThreaded
setNumThreads
in interface MultiThreaded
public void setNumThreads(int numThreads)
MultiThreaded
setNumThreads
in interface MultiThreaded
numThreads
- - number of threads to usepublic int getNumThreads()
MultiThreaded
getNumThreads
in interface MultiThreaded
public String getErrorMessage()
getErrorMessage
in interface Algorithm
public long getProcessingTime()
getProcessingTime
in interface Benchmark
public Image<T> getResult()
getResult
in interface OutputAlgorithm<T extends Comparable<T> & Type<T>>
Copyright © 2015–2021 Fiji. All rights reserved.