| Constructor and Description |
|---|
FloydSteinbergDithering(RandomAccessibleInterval<T> img)
Will estimate the dithering threshold by (max - min) / 2
|
FloydSteinbergDithering(RandomAccessibleInterval<T> img,
float ditheringThreshold) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
Img<FloatType> |
createErrorDiffusionKernel(int numDimensions) |
String |
getErrorMessage() |
long |
getProcessingTime() |
Img<BitType> |
getResult() |
boolean |
process() |
public FloydSteinbergDithering(RandomAccessibleInterval<T> img, float ditheringThreshold)
public FloydSteinbergDithering(RandomAccessibleInterval<T> img)
public long getProcessingTime()
getProcessingTime in interface Benchmarkpublic Img<BitType> getResult()
getResult in interface OutputAlgorithm<Img<BitType>>public boolean checkInput()
checkInput in interface Algorithmpublic String getErrorMessage()
getErrorMessage in interface AlgorithmCopyright © 2015–2022 ImgLib2. All rights reserved.