public class DefaultMinMaxMethod<T extends Type<T> & Comparable<T>> extends AbstractMinMaxMethod<T>
MinMaxMethod implementation that forks
net.imglib2.algorithm.stats.ComputeMinMax.initialized| Constructor and Description |
|---|
DefaultMinMaxMethod() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput()
Verifies method inputs
|
protected void |
compute(int threadNumber,
long startPos,
long loopSize,
T min,
T max) |
String |
getErrorMessage() |
T |
getMax() |
T |
getMin() |
int |
getNumThreads() |
long |
getProcessingTime() |
void |
initialize(Img<T> img)
Sets the provided Img as the target interval for computation.
|
void |
initialize(Img<T> img,
T min,
T max)
Sets the provided Img as the target interval for computation,
as well as initial min and max values.
|
void |
initialize(IterableInterval<T> interval)
Sets the target interval for computation.
|
void |
initialize(IterableInterval<T> interval,
T min,
T max)
Sets the target interval for computation, as well as initial
min and max values.
|
void |
initialize(RandomAccessibleInterval<T> interval)
Sets the target interval for computation.
|
void |
initialize(RandomAccessibleInterval<T> interval,
T min,
T max)
Sets the target interval for computation, as well as initial
min and max values.
|
boolean |
process()
Begins searching the target interval for minimum and
maximum values.
|
void |
setNumThreads()
Sets number of threads to default
|
void |
setNumThreads(int numThreads)
Sets number of threads to use
|
initializeCheckgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic void initialize(Img<T> img, T min, T max)
MinMaxMethodpublic void initialize(IterableInterval<T> interval, T min, T max)
MinMaxMethodpublic void initialize(RandomAccessibleInterval<T> interval, T min, T max)
MinMaxMethodpublic void initialize(Img<T> img)
MinMaxMethodpublic void initialize(IterableInterval<T> interval)
MinMaxMethodpublic void initialize(RandomAccessibleInterval<T> interval)
MinMaxMethodpublic T getMin()
public T getMax()
public boolean process()
MinMaxMethodMinMaxMethod.getErrorMessage()public boolean checkInput()
MinMaxMethodpublic long getProcessingTime()
public void setNumThreads()
MinMaxMethodpublic void setNumThreads(int numThreads)
MinMaxMethodpublic int getNumThreads()
public String getErrorMessage()
Copyright © 2014–2022 ImageJ. All rights reserved.