public class DownSample<T extends RealType<T>> extends Object implements MultiThreaded, OutputAlgorithm<T>, Benchmark
| Constructor and Description |
|---|
DownSample(Image<T> image,
float downSamplingFactor) |
DownSample(Image<T> image,
int[] newSize,
float sourceSigma,
float targetSigma) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
Image<T> |
getInputImage() |
int[] |
getNewSize() |
int |
getNumThreads()
The number of threads used by the algorithm
|
long |
getProcessingTime() |
Image<T> |
getResult() |
float |
getSourceSigma() |
float |
getTargetSigma() |
boolean |
process() |
void |
setDownSamplingFactor(float factor) |
void |
setInputImage(Image<T> image) |
void |
setNewSize(int[] newSize) |
void |
setNumThreads()
Sets the number of threads to the amount of processors available
|
void |
setNumThreads(int numThreads)
Sets the number of threads
|
void |
setSourceSigma(float sourceSigma) |
void |
setTargetSigma(float targetSigma) |
public void setSourceSigma(float sourceSigma)
public void setTargetSigma(float targetSigma)
public void setDownSamplingFactor(float factor)
public void setNewSize(int[] newSize)
public float getSourceSigma()
public float getTargetSigma()
public int[] getNewSize()
public boolean checkInput()
checkInput in interface Algorithmpublic String getErrorMessage()
getErrorMessage in interface Algorithmpublic Image<T> getResult()
getResult in interface OutputAlgorithm<T extends RealType<T>>public 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.